01.
<?PHP
if
(
$status
==
'2'
){ ?>
02.
<input name=
"btm_product"
type=
"submit"
id=
"btm_product"
class
=
"txt_btn"
value=
"อนุมัติสินค้าทั้งหมด"
/>
03.
<? }
else
if
(
$status
==
'3'
){ ?>
04.
<? } ?>
05.
<?PHP
if
(
$status
==
'3'
){ ?>
06.
<input name=
"btm_product"
type=
"submit"
id=
"btm_product"
class
=
"txt_btn"
value=
"การจัดส่งทั้งหมด"
/>
07.
<? }
else
if
(
$status
==
'5'
){ ?>
08.
09.
$sql
= mysql_query(
"UPDATE "
.
$order
.
" SET ord_status='3' WHERE ord_id='"
.
$_POST
['ord_id
']."'
");