วันที่: 2010-09-10 23:03:21.0view 5322reply 0
<?php
$con = mysql_connect("localhost","root","104968037");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("db_satree", $con);
$result = mysql_query("SELECT * FROM student");
while($row = mysql_fetch_array($result))
{
echo $row[id]." ".$row['firstname']." ".$row['lastname']." ".$row[num13]."<br/>";
}
mysql_close($con);
?>
</body>
</html>
_______________________________________________________________________________
//***********หน้าแสดงผล $row["firstname"] คือ ชื่อภาษาไทย และ $row["lastname"] คือ นามสกุลภาษาไทย
10842 ??????????????? ??????? 1959900308964
10928 ?????????????? ????? 1959900298039 11013 ????????????? ?????? 1950100160611 11026 ????????????????? ???? 1959900334612 11224 ????????????? ?????? 1941000183106 11226 ????????????? ?????????? 1959900315987 11227 ???????????????? ???????? 1959900331575 11229 ??????????? ???? 1941000176894 11230 ???????????? ???? 1959900327934 11232 ?????????????? ???? 2941000039542 ขอคำแนะนำด้วยครับ
ขอบคุณล่วงหน้า
|
วันที่: Fri Jan 10 11:33:54 ICT 2025
|
|
|