<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <? mysql_connect("localhost","root","1234"); mysql_select_db("motocyclerent"); $strSQL = "SELECT * FROM product"; $objQuery = mysql_query($strSQL) or die(mysql_error()); ?> <body> <table width="1073" border="1"> <tr> <th scope="col"><a href="Main.php">หน้าแรก</a></th> <th scope="col"><a href="About.php">ดูข้อมูลรถ</a></th> <th scope="col"><a href="Bookmotor.php">สั่งจองออนไลน์</a></th> <th scope="col"><a href="Member.php">จำนวนสมาชิกทั้งหมด</a></th> <th scope="col"><a href="Flag.php">แจ้งปัญหา/ติชม</a></th> <th scope="col">ออกจากระบบ</th> </tr> </table> <br><br> <table width="327" border="1"> <tr> <td width="101">Picture</td> <td width="101">ProductID</td> <td width="82">ProductName</td> <td width="79">Price</td> <td width="37">Cart</td> </tr> <? while($objResult = mysql_fetch_array($objQuery)) { ?> <tr> <td><img src="img/<?$objResult["Picture"];?>"></td> <td><?=$objResult["ProductID"];?></td> <td><?=$objResult["ProductName"];?></td> <td><?=$objResult["Price"];?></td> <td><a href="order.php?ProductID=<?=$objResult["ProductID"];?>">Order</a></td> </tr> <? } ?> </table> <br><br><a href="show.php">View Cart</a> | <a href="clear.php">Clear Cart</a> <? mysql_close(); ?> </body> </html>
<?$objResult["Picture"];?>
<?=$objResult["Picture"];?>
print $objResult["Picture"];
<img src="img/<?$objResult["Picture"];?>">
<img src="img/<?=$objResult["Picture"];?>">
<td><img src="Resource id #4" width='150' height='120'></td>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <? mysql_connect("localhost","root","1234"); mysql_select_db("motocyclerent"); $strSQL = "SELECT * FROM product"; $objQuery = mysql_query($strSQL) or die(mysql_error()); ?> <body> <table width="1073" border="1"> <tr> <th scope="col"><a href="Main.php">หน้าแรก</a></th> <th scope="col"><a href="About.php">ดูข้อมูลรถ</a></th> <th scope="col"><a href="Bookmotor.php">สั่งจองออนไลน์</a></th> <th scope="col"><a href="Member.php">จำนวนสมาชิกทั้งหมด</a></th> <th scope="col"><a href="Flag.php">แจ้งปัญหา/ติชม</a></th> <th scope="col">ออกจากระบบ</th> </tr> </table> <br><br> <table width="327" border="1"> <tr> <td width="101">Picture</td> <td width="101">ProductID</td> <td width="82">ProductName</td> <td width="79">Price</td> <td width="37">Cart</td> </tr> <? while($objResult = mysql_fetch_array($objQuery)) { ?> <tr> <td><?=$objResult["Picture"];?></td> <td><?=$objResult["ProductID"];?></td> <td><?=$objResult["ProductName"];?></td> <td><?=$objResult["Price"];?></td> <td><a href="order.php?ProductID=<?=$objResult["ProductID"];?>">Order</a></td> </tr> <? } ?> </table> <br><br><a href="show.php">View Cart</a> | <a href="clear.php">Clear Cart</a> <? mysql_close(); ?> </body> </html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <? mysql_connect("localhost","root","1234"); mysql_select_db("motocyclerent"); $strSQL = "SELECT * FROM product"; $objQuery = mysql_query($strSQL) or die(mysql_error()); ?> <body> <table width="1073" border="1"> <tr> <th scope="col"><a href="Main.php">หน้าแรก</a></th> <th scope="col"><a href="About.php">ดูข้อมูลรถ</a></th> <th scope="col"><a href="Bookmotor.php">สั่งจองออนไลน์</a></th> <th scope="col"><a href="Member.php">จำนวนสมาชิกทั้งหมด</a></th> <th scope="col"><a href="Flag.php">แจ้งปัญหา/ติชม</a></th> <th scope="col">ออกจากระบบ</th> </tr> </table> <br><br> <table width="327" border="1"> <tr> <td width="101">Picture</td> <td width="101">ProductID</td> <td width="82">ProductName</td> <td width="79">Price</td> <td width="37">Cart</td> </tr> <? while($objResult = mysql_fetch_array($objQuery)) { ?> <tr> <td><img src="img/<?=$objResult["Picture"];?>" /></td> <td><?=$objResult["ProductID"];?></td> <td><?=$objResult["ProductName"];?></td> <td><?=$objResult["Price"];?></td> <td><a href="order.php?ProductID=<?=$objResult["ProductID"];?>">Order</a></td> </tr> <? } ?> </table> <br><br><a href="show.php">View Cart</a> | <a href="clear.php">Clear Cart</a> <? mysql_close(); ?> </body> </html>
<? //session_start(); //session_destroy(); ?><html> <head> <title>ThaiCreate.Com</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <? mysql_connect("localhost","root","usbw"); mysql_select_db("peet"); $strSQL = "SELECT * FROM product"; $objQuery = mysql_query($strSQL) or die(mysql_error()); ?> <table width="327" border="1"> <tr> <td width="101">Picture</td> <td width="101">ProductID</td> <td width="82">ProductName</td> <td width="79">Price</td> <td width="37">Cart</td> </tr> <? while($objResult = mysql_fetch_array($objQuery)) { ?> <tr> <td><img src="img/<?=$objResult["Picture"];?>"></td> <td><?=$objResult["ProductID"];?></td> <td><?=$objResult["ProductName"];?></td> <td><?=$objResult["Price"];?></td> <td> <a href="order.php?ProductID=<?=$objResult["ProductID"];?>">Order</a></td> </tr> <? } ?> </table> <br><br><a href="show.php">View Cart</a> | <a href="clear.php">Clear Cart</a> <? mysql_close(); ?> </body> </html> <?/* This code download from www.ThaiCreate.Com */ ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง