发布网友 发布时间:2022-04-06 04:43
共1个回答
热心网友 时间:2022-04-06 06:12
$conn = mysql_connect($dbhost, $dbuser, $dbpass);
$sql = "select a,b,c from data where tid=5";
$result = mysql_query($sql, $conn);
while($row = mysql_fetch_assoc($result) ){
echo $row['a'];
echo $row['b'];
echo $row['c'];
}