|
 |
|
edit ข้อมูลไม่ได้อ่ะค่ะ ไม่แก้ไขข้อมูลที่จะแก้อ่ะค่ะ |
|
 |
|
|
 |
 |
|
ม่ายมีครายช่วยเลยหรอ
|
 |
 |
 |
 |
Date :
2009-10-07 12:39:12 |
By :
dektatee |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ยาวมากๆ เขาเลยม่ะอยากอ่านกันมั้ง
แต่เดี๋ยวเพ่จาดูให้นะน้องนะ  
|
 |
 |
 |
 |
Date :
2009-10-07 12:41:01 |
By :
NanoThoro |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
เอ่อ หมายถึงว่า มันส่งค่ามาไม่ได้ หรือว่า ไม่สามารถ อัพเดทข้อมูลได้คับ
ยังไงก็ลอง ตรวจสอบ ดูด้วยวิธี echo ตัวแปร พวก$_post ที่รับค่า หรือ ว่า$sql_show ที่เก็บquery
ครับ จะได้ง่ายต่อการดู ไม่เสียเวลาด้วยคับ
|
 |
 |
 |
 |
Date :
2009-10-07 12:42:40 |
By :
apicha31 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ปล. ดูให้นะ
อิอิอิ
ล้อเล่น ไปกินข้าวก่อนนะ จะกลับมาจัดการให้ ถ้าใครยังไม่ช่วยนะคร๊าบบบบ
|
 |
 |
 |
 |
Date :
2009-10-07 12:43:16 |
By :
NanoThoro |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
จะให้เริ่มดูบรรทัดไหนละเนี่ย   
ใช่บรรทัดนี้เปล่า ?
$sql_edit = "update building_authority set Name_BU= '$Name_BU' , Lastname = '$Lastname_BU' where ID_BU = '$ID_BU'";
ลอง echo $sql_edit ตรวจสอบว่าค่า $Name_BU ,$Lastname_BU ,$ID_BU มีค่ารึเปล่า
|
 |
 |
 |
 |
Date :
2009-10-07 12:43:43 |
By :
xbeginner01 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ส่งค่าได้อ่ะค่ะ แต่แก้ไขมะได้อ่า
|
 |
 |
 |
 |
Date :
2009-10-07 12:43:51 |
By :
dektatee |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
มัน errror อะไรหรอคับ 
|
 |
 |
 |
 |
Date :
2009-10-07 12:46:34 |
By :
pokultra |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
แนะนำให้เอาโค้ดเฉพาะที่เป็นปัญหามาแปะนะครับ อันไหนที่ผ่านแล้วก็ไม่ต้องเอามา คือมันอ่านยาก
ปัญหาพวกแก้ไขข้อมูลนี่ส่วนมากก็อยู่ที่ข้อมูล และ sql ครับ
|
 |
 |
 |
 |
Date :
2009-10-07 12:48:10 |
By :
pjgunner |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ลอง echo คำสั่ง update ออกมาก่อนครับ
แล้วเอา ไป run ใน phpmyadmin ดูอ่ะครับว่ามีค่าออกมาเปล่า 
|
 |
 |
 |
 |
Date :
2009-10-07 12:58:47 |
By :
onizike |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ถ้ามี Error ก๊อบมาดูหน่อยครับ จะได้แก้ตรงจุด
|
 |
 |
 |
 |
Date :
2009-10-07 13:08:38 |
By :
panyapol |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอบคุนพี่ๆๆทุกคนนะคะ
ทามได้แล้วคร่า
|
 |
 |
 |
 |
Date :
2009-10-07 13:55:22 |
By :
dektatee |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 01
|