|
 |
|
ช่วยดูให้หน่อยค่ะ เวลา เพิ่ม ข้อมูลลงไปแล้ว ทำไมรูปถึงเปลี่ยนเป็นรูปที่เพิ่มเข้าไปทั้งหมดเลยอ่าค่ะ |
|
 |
|
|
 |
 |
|
โครงสร้างตาราง `accessories`
--
Code
CREATE TABLE `accessories` (
`acc_id` varchar(5) NOT NULL,
`acc_name` varchar(40) NOT NULL,
`acc_amount` int(3) NOT NULL,
`acc_pic` char(50) NOT NULL,
`acc_detail` char(100) NOT NULL,
`acc_price1` decimal(8,2) NOT NULL,
`acc_price2` decimal(8,2) NOT NULL,
`acc_price3` decimal(8,2) NOT NULL,
`acc_price4` decimal(8,2) NOT NULL,
PRIMARY KEY (`acc_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
 |
 |
 |
 |
Date :
2012-02-20 18:34:41 |
By :
zamutu |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
คุณก็เขียนได้อยู่แล้วน่ะครับ ไล่เองไม่น่ายาก 
|
 |
 |
 |
 |
Date :
2012-02-20 21:10:42 |
By :
webmaster |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ลองไล่ดูแล้วค่ะ แต่ก้อยังเหมือนเดิมอยู่เลยค่ะ
เพิ่มภาพใหม่ แล้วภาพเก่าก็อเปลี่ยนเป็นภาพใหม่ตามไปด้วยค่ะ
|
 |
 |
 |
 |
Date :
2012-02-20 21:56:21 |
By :
zamutu |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ไฟล์มันทับกัน หรือว่ายังไงครับ ทำไมคุณไม่ตรวจสอบดูชื่อไฟล์ครับ 
|
 |
 |
 |
 |
Date :
2012-02-21 06:36:25 |
By :
webmaster |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ชื่อไฟล์ไม่ซ้ำกันนะค่ะ แต่พอบันทึกลง ดาต้าเบต อ่ะค่ะ กลับไม่มีชื่อไฟล์มีแต่ นามสกุล .jpg อ่าค่ะ
|
 |
 |
 |
 |
Date :
2012-02-21 14:15:51 |
By :
zamutu |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ลอง ไล่ตัวแปร $acc_pic ดูดิ
$acc_pic << มันไม่ใช่ ชื่อรูปนะ
|
 |
 |
 |
 |
Date :
2012-02-21 15:54:31 |
By :
ekeak |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอบคุณ ค่ะ ทำได้แล้วค่ะ    
|
 |
 |
 |
 |
Date :
2012-02-21 19:56:03 |
By :
zamutu |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 00
|