หัวข้อ: ช่วยดูโค๊ดให้ทีค่ะ
เริ่มหัวข้อโดย: icenobu ที่ 17 มิถุนายน 2011, 16:02:19
ข้อมูลมันไม่ดึงออกมาโชว์อ่ะค่ะ <? include ("inc/FunctionDB.php"); //$id=$_GET['id'];
$sql="SELECT*FROM cases"; $cmdQuery=mysql_query($strSQL); //$fetchArray=mysql_fetch_array($cmdQuery); ?>
<!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>Inquiry Detail</title> <style> @import "css/styley.css"; </style> </head>
<body> <table border="1" cellspacing="0" cellpadding="0"> <tr> <td width="616" colspan="4" valign="top"><p align="center"><strong>Request</strong></p></td> </tr> <tr> <td width="102" valign="top"><p><strong>วันที่ :</strong></p></td> <td width="276" valign="top"><p><span class="menu"><? echo $row['create_date']; ?></span></p></td> <td width="132" valign="top"><p>Request No :</p></td> <td width="106" valign="top"><p> </p></td> </tr> <tr> <td width="102" valign="top"><p><strong>ผู้แจ้ง :</strong></p></td> <td width="276" valign="top"><p> </p></td> <td width="132" valign="top"><p><strong>ศูนย์ :</strong></p></td> <td width="106" valign="top"><p> </p></td> </tr> <tr> <td width="102" valign="top"><p><strong>เมล์ :</strong></p></td> <td width="514" colspan="3" valign="top"><p> </p></td> </tr> <tr> <td width="102" valign="top"><p><strong>รายละเอียด :</strong></p></td> <td width="514" colspan="3" valign="top"><p> </p> <p> </p> <p> </p> <p> </p></td> </tr> <tr> <td width="616" colspan="4" valign="top"> </td> </tr> </table> <table width="300" border="0" align="center" cellpadding="2" cellspacing="0"> <tr> <script language="JavaScript" type="text/javascript">
function printPage(){ browserVersion = parseInt(navigator.appVersion) if (browserVersion >= 4) window.print() } </script> <td colspan="2" align="center" valign="top"><a href="javascript:printPage()" title="Print Print Print "><br /> <img src="imgs/print.png" alt="" width="22" height="22" border="0" /></a></td> </tr> </table> <p> </p> <p> </p> <p> </p> <p> </p> </body> </html>
หัวข้อ: Re: ช่วยดูโค๊ดให้ทีค่ะ
เริ่มหัวข้อโดย: webstyle4u ที่ 17 มิถุนายน 2011, 16:32:45
มี error รึเปล่า
ดูที่ตัวแปร sql ผิดรึเปล่าครับ :wanwan013:
หัวข้อ: Re: ช่วยดูโค๊ดให้ทีค่ะ
เริ่มหัวข้อโดย: icenobu ที่ 17 มิถุนายน 2011, 17:02:40
ได้แล้วจ้า ใส่ sql ผิด table แต่ติดอีกเรื่องอ่ะค่ะที่ว่ามันไม่ขิดขอบขวา
หัวข้อ: Re: ช่วยดูโค๊ดให้ทีค่ะ
เริ่มหัวข้อโดย: solutioncom ที่ 18 มิถุนายน 2011, 15:10:42
ได้แล้วจ้า ใส่ sql ผิด table แต่ติดอีกเรื่องอ่ะค่ะที่ว่ามันไม่ขิดขอบขวา
ใส่ text-align:right ครับ
|