where did the mysq_close function go (with more details) ?

From: Date: Sat, 19 Aug 2000 21:52:24 +0000
Subject: where did the mysq_close function go (with more details) ?
Groups: php.general 
Request: Send a blank email to php-general+get-12611@lists.php.net to get a copy of this message
Platform: RedHat 6.2 x86, using source tarballs not the RPM'ed versions of Apache, php, etc. Apache: Apache/1.3.12 (Unix) with php4 and mod_perl built in as static. PHP Version: php-4.0.1pl2 MySQL: Ver 9.38 Distrib 3.22.32, for pc-linux-gnu (i686) Build Configuraton file: ./configure \ --with-apache=../apache_1.3.12 \ --with-config-file-path=/etc/httpd/conf \ --enable-track-vars \ --with-mysql=/usr \ --enable-ftp \ --with-gd=/usr/local/gd-1.8.3 \ --enable-bcmath=yes \ --disable-debug \ --enable-memory-limit=yes \ --enable-calendar \ --enable-magic-quotes \ --enable-track-vars A test page/file: 1 <html> 2 <head> 3 <title>Arg what now</title> 4 </head> 5 6 <? 7 $dbconnection = mysql_connect("localhost", "xxxxx", "xxxxx"); 8 $db = mysql_select_db("xxxxx", $dbconnection); 9 $sql = "SELECT * FROM xxxxx ORDER BY name"; 10 $sql_result = mysql_query($sql, $dbconnection); 11 $mysql_free_result($sql_result); 12 $mysql_close($dbconnection); 13 ?> The error: Fatal error: Call to undefined function: () in /home/httpd/html/petelancashire/mysql.php on line 11 Commenting out mysql_free_result will move the error to the mysql_close I hope this one is easy TIA -pete

« previous php.general (#12611) next »