sorce on php mysql 5.1.56

From: Date: Thu, 21 Apr 2011 18:50:30 +0000
Subject: sorce on php mysql 5.1.56
Groups: php.db 
Request: Send a blank email to php-db+get-47771@lists.php.net to get a copy of this message
Fatal error: Call to undefined function mysql_errors() in /var/www/html/log_book_MySQLnew.php on line 261 function repopulate()     255 {     256     257 global $conn;     258     259 $user = "source /home/qt4user/log_book/create_log_book_mysql.sql";     260     261 $result = mysql_query($user) or die(mysql_errors());     262 } For eons, the code works for other functions using SQL direct...no "source" How does one do a "source" from php??? I usually use source on a mysql command line   5.1.56 to execute a whole sql file

« previous php.db (#47771) next »