|
 |
|
ผมจะทำแบบฝึกหัดแล้ว เพิ่มรูปภาพ และแก้ไข ยังไงครับ ช่วยดูให้ผมหน่อย ขอบคุณครับ |
|
 |
|
|
 |
 |
|
ผมอยากให้ส่วนของรูปภาพมันทำการแก้ไขได้อ่ะครับ ตามรูปเลยนะครับของผม อยากทราบว่าต้อง ในส่วนของ
Code (PHP)
if($_GET["Action"] == "Save")
{
for($i=1;$i<=$_POST["hdnLine"];$i++)
{
$strSQL = "UPDATE testing SET ";
$strSQL .="question = '".$_POST["txtCustomerID$i"]."' ";
$strSQL .=",c1 = '".$_POST["txtName$i"]."' ";
$strSQL .=",c2 = '".$_POST["txtEmail$i"]."' ";
$strSQL .=",c3 = '".$_POST["txtCountryCode$i"]."' ";
$strSQL .=",c4 = '".$_POST["txtBudget$i"]."' ";
$strSQL .=",answer = '".$_POST["txtUsed$i"]."' ";
$strSQL .="WHERE question = '".$_POST["hdnCustomerID$i"]."' ";
$objQuery = mysql_query($strSQL);
}
//header("location:$_SERVER[PHP_SELF]");
//exit();
}
ต้องแก้ไขอย่างไรครับ ถึงจะทำการแก้ไขรูปภาพได้
อันนี้ดาต้าเบสครับ

ส่วนนี้ของหน้าที่ผมทำ

|
 |
 |
 |
 |
Date :
2013-08-19 23:48:26 |
By :
beller |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 04
|