|
|
|
ดูโค้ด insert ช่วยด้วยยค่ะ else $msg="Error insert!"; header("location:list2.php?msg=$msg") ผลลัพท์ Error insert! |
|
|
|
|
|
|
|
ของคุณเป็นแบบนี้ครับ
$qi=mysql_query("insert into nisit values('','$pid','$pname','$pdetail','$pprice','$pic','1')");
ตัวอย่างจากบทเรียนในเว็บแห่งนี้
mysql_query("INSERT INTO $tb (id, password, date, name, surname, email, tel, address)
values('$id', '$pass', '$date', '$name ', '$surname', '$email', '$tel', '$address ')")
สังเกตุเห็นอะไรหรือเปล่าครับ ของคุณ insert into nisit ........values ผมเดาว่า nisit คือชื่อตารางหรือเปล่าครับ
ถูกผิดไม่รู้ไม่ได้เก่ง ......... ที่พอเป็นก็จากเว็บ thaicreate.com แห่งนี้แหละ
|
|
|
|
|
Date :
4 มี.ค. 2551 18:25:29 |
By :
ฟ้าเวิ้ง |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ไม่เหนมีบอกว่าลงฟิวล์ไหนเลยอะคับ
|
|
|
|
|
Date :
4 มี.ค. 2551 19:15:11 |
By :
ต้น |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 04
|