include("/var/www/html/thidh07dt/chung/connect.php"); $sql="select * from KHACHHANG"; $rs=mysql_query($sql); $num_rs=mysql_num_rows($rs); if($num_rs>0) for($i=0;$i<$num_rs;$i++) { $row=mysql_fetch_array($rs); $st =$st."\n"; $st2 =$st2." | ".$row["F_TENKH"].""; } mysql_close(); ?>
echo $st2; ?>