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