标签:amp fetch ref HERE rom function mys erro mysql
<?php
$result = mysql_query("SELECT id,email FROM people WHERE id = ‘42‘");
if (!$result) {
echo ‘Could not run query: ‘ . mysql_error();
exit;
}
$row = mysql_fetch_row($result);
echo $row[0]; // 42
echo $row[1]; // the email value
?>
标签:amp fetch ref HERE rom function mys erro mysql
原文地址:https://www.cnblogs.com/ldphoebe/p/6094109.html