|
 |
|
แก้ไขเรื่องรุปไม่ขึ้น ได้แล้วค่ะแต่พอมาอีกไฟล์นึง โค้ดคล้ายกันทำไม ถึงแก้ไม่ขึ้นคะ |
|
 |
|
|
 |
 |
|
น่าจะเป็นเรื่อง path ไม่ถูกต้องครับ ขอดู link ที่ใช้เรียกหน้านี้หน่อยครับ
|
 |
 |
 |
 |
Date :
2012-02-24 15:21:43 |
By :
kerb |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
<img src='images/icon_01.gif' width='9' height='9'> <a href = 'product_view.php?show_id=$product_id'>แสดงรายละอียด</a>
อันนี้เป็นโค้ดดlink ค่ะต่อมาจากหน้าmain.php
|
 |
 |
 |
 |
Date :
2012-02-24 15:32:31 |
By :
ข้าวหอมมะลิ |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอ url หน้านั้นอะครับ
|
 |
 |
 |
 |
Date :
2012-02-24 16:03:18 |
By :
kerb |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
http://127.0.0.1/ecommerce/product_view.php?show_id=82
ค่ะ
|
 |
 |
 |
 |
Date :
2012-02-24 16:06:54 |
By :
ข้าวหอมมะลิ |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
Code (PHP)
<IMG SRC='admin/picture/$picture'>
path ถูกหรือเปล่าครับตัวแปร $picture มีค่าหรือเปล่า 
|
 |
 |
 |
 |
Date :
2012-02-25 11:47:35 |
By :
webmaster |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ตอนดึงข้อมูลมาอัพเดทมันเป็นค่าว่างค่ะพี่ แล้วเราจะแก้ไขยังไงคะ เพระาตอนที่เพิ่มสินค้าใหม่รุปก้อแสดง แต่พอเราอัพเดทสินค้ารูปกลับหายไปค่ะพี่
|
 |
 |
 |
 |
Date :
2012-03-16 17:53:06 |
By :
ข้าวหอมมะลิ |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
เอา code มาดูครับ แนะนำให้ตั้งกระทู้ใหม่ด้วยครับ
|
 |
 |
 |
 |
Date :
2012-03-16 20:24:47 |
By :
webmaster |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ลงโค้ดไม่ได้ค่ะ พอลงแล้วหน้าเว็บเออเร่อ
|
 |
 |
 |
 |
Date :
2012-03-18 15:44:24 |
By :
toryairuk |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
แก้ได้แล้วค่ะ เพราะแก้ตรง$_postมาใช้ $file=$_FILES["filUpload"];
$picture=$_FILES["filUpload"]["name"]; ค่ะ
|
 |
 |
 |
 |
Date :
2012-03-18 15:51:23 |
By :
toryairuk |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 00
|