分类：电脑/网络-程序设计
问题：一个php函数问题&lt;?$mysql_server_name 
<?  $_server_name = "localhost";  $mysql_username    = "root";  $mysql_password    = "*******";  $mysql_database    = "jishuqi";   $conn = mysql_connect($mysql_server_name, $mysql_username, $mysql_password);  $sql = "INSERT INTO `jishuqi`.`jishu` (`new`<?  $_server_name = "localhost";  $mysql_username    = "root";  $mysql_password    = "*******";  $mysql_database    = "jishuqi";   $conn = mysql_connect($mysql_server_name, $mysql_username, $mysql_password);  $sql = "INSERT INTO `jishuqi`.`jishu` (`new`)VALUES ('1');";  mysql_select_db($mysql_database,$conn);  $result=mysql_query($sql);  mysql_close($conn);?> 这里面最后赋给result的值是什么
回答：mysql_query() 仅对 SELECT，SHOW，EXPLAIN 或 DESCRIBE 语句返回一个资源标识符，如果查询执行不正确则返回 FALSE。对于其它类型的 SQL 语句，mysql_query() 在执行成功时返回 TRUE，出错时返回 FALSE。