>Help! > >I am getting the following error message for : ><? > $link=mysql_connect("localhost","$user","$pass"); // line 34 >?> > >Fatal error: Call to undefined function: mysql_connect() in >/home/www/test.somename.org/aux/db-mod.php on line 34 > >I have used this call successfully on php v4.0.6, and am now trying it on a >new install (which someone else did, as I haven't a clue in setting up a >server) which is v4.1.1. Is mysql_connect a defunct command, or do I need >to do something to enable its use?
MySQL support is "optional" and whomever set up this server needs to enable it during compilation/installation. Also, version 4.1.1 is "old" and they really really really ought to upgrade before installing.. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php