RE: [PHP-DB] undefined function error

From: Date: Fri, 18 Mar 2005 21:56:39 +0000
Subject: RE: [PHP-DB] undefined function error
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-38955@lists.php.net to get a copy of this message
from the php manual [quote] This MySQL extension doesn't support full functionality of MySQL versions greater than 4.1.0. For that, use MySQLi. [/quote] http://ca3.php.net/manual/en/ref.mysqli.php bastien
From: Chip Wiegand <chip.wiegand@simrad.com> To: "PHP DB" <php-db@lists.php.net> Subject: [PHP-DB] undefined function error Date: Fri, 18 Mar 2005 13:53:08 -0800 I have a web site that connects to a mysql database using this connect script - <? $db=mysql_connect("localhost","***","***");
      mysql_select_db("simradusa",$db);
?> When I access the page it gives me this error - Fatal error: Call to undefined function: mysql_connect() in /usr/local/www/data-dist/connect on line 1 Using mysql-4.1.10a for FreeBSD-5.3 with php-4.3.9 Any idea why I'm getting this error? (the same connect string works fine on a differant web server running FreeBSD-5.2.1/php-4.3.6/mysql-3.23.49) Thanks, Chip -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.db (#38955) next »