|
![](/images/resource/spacer.gif) |
|
สอบถาม **มัน update ไม่ได้ครับ ลบกวนท่านผู้รู้ช่วยแนะนำหน่อยครับ |
|
![](/images/resource/viewboard_01.gif?v=1001) |
|
|
![](/images/resource/viewboard_03.gif?v=1001) |
![](/images/resource/viewboard_04.gif?v=1001) |
|
สูตรสำเร็จการอัพเดต
Code (PHP)
$sql='update ...';
If($db->query($sql)){
Echo 'affect = ',db->affected_row;
}else echo $db->error,'==>',$sql
|
![](/images/resource/blockviewtopic_01.gif?v=1001) |
![](/images/resource/blockviewtopic_02.gif?v=1001) |
![](/images/resource/blockviewtopic_03.gif?v=1001) |
![](/images/resource/blockviewtopic_04.gif?v=1001) |
Date :
2016-02-01 13:34:15 |
By :
Chaidhanan |
|
![](/images/resource/blockviewtopic_06.gif?v=1001) |
![](/images/resource/blockviewtopic_07.gif?v=1001) |
![](/images/resource/blockviewtopic_08.gif?v=1001) |
![](/images/resource/blockviewtopic_09.gif?v=1001) |
|
|
![](/images/resource/viewboard_06.gif?v=1001) |
![](/images/resource/viewboard_07.gif?v=1001) |
|
![](/images/resource/viewboard_08.jpg?v=1001) |
![](/images/resource/viewboard_09.gif?v=1001) |
![](/images/resource/viewboard_01.gif?v=1001) |
|
|
![](/images/resource/viewboard_03.gif?v=1001) |
![](/images/resource/viewboard_04.gif?v=1001) |
|
แก้ไขให้ครับ
Code (PHP)
$sql1 = "UPDATE durable_order SET stock_type_id = '".$_POST['stock_type_id']."',
brand_id = '".$_POST['brand_id']."',
brand_sub_id = '".$_POST['brand_sub_id']."',
type_id = '".$_POST['type_id']."',
directive_date = '".$_POST['directive_date']."',
order_price = '".$_POST['order_price']."'
WHERE order_id = '$code' ";
if($result1 = mysql_db_query($db,$sql1)){
|
ประวัติการแก้ไข 2016-02-01 14:48:34
![](/images/resource/blockviewtopic_01.gif?v=1001) |
![](/images/resource/blockviewtopic_02.gif?v=1001) |
![](/images/resource/blockviewtopic_03.gif?v=1001) |
![](/images/resource/blockviewtopic_04.gif?v=1001) |
Date :
2016-02-01 14:47:10 |
By :
pandaflick |
|
![](/images/resource/blockviewtopic_06.gif?v=1001) |
![](/images/resource/blockviewtopic_07.gif?v=1001) |
![](/images/resource/blockviewtopic_08.gif?v=1001) |
![](/images/resource/blockviewtopic_09.gif?v=1001) |
|
|
![](/images/resource/viewboard_06.gif?v=1001) |
![](/images/resource/viewboard_07.gif?v=1001) |
|
![](/images/resource/viewboard_08.jpg?v=1001) |
![](/images/resource/viewboard_09.gif?v=1001) |
|
|
|
![](/images/digitalocean-banner.jpg)
|
Load balance : Server 01
|