$record=0;
$db=@mysql_pconnect('localhost','root');
@mysql_select_db('1234',$db);
$strsql=" 1234_data에서 * 선택";
$result=@mysql_query($strsql);
$data=@mysql_fetch_array($result);
$record=@mysql_num_rows($result);
echo " <이름 선택=유형 크기=1>n";
do{
if ($record==1){
echo "n";
}
else{
echo "n";
}
}while($data=@mysql_fetch_array($result));
echo "< /select>n";
?>
以上就介绍了select html中select语句读取mysql表中内容, 包括了select방법면적内容, 希望对PHP教程有兴趣的朋友有所帮助.