|
|
|
สอบถามปัญหาเกี่ยวกับการ Update ข้อมูลแบบ Array ลง SQL ครับ |
|
|
|
|
|
|
|
Code (PHP)
$sql = " UPDATE idr SET
orders = '".$DATA_ORDERS."'
WHERE id = '".$DATA_ID."' ";
mysqli_query($conn,$sql) or die($conn->error.'<br>'.$sql);
if($conn->affected_rows>0) {
echo " <p align=center> Record update success fully </p> ";
}else{
echo "<p>Not update <br>$sql</p>";
}
|
|
|
|
|
Date :
2019-08-13 16:14:44 |
By :
Chaidhanan |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 04
|