select

Posted: 2月 5th, 2007 | Author: focajun | Filed under: mysql | No Comments »

$sql=”query strings”;
$result=mysql_query($sql);
$row=mysql_num_rows($result);

if($rows==0){
die;
}
else{
while($row=myswl_fetch_array($result)){
$a1=$row["field name1"];
$a2=$row["field name2"];
}



Leave a Reply