Lasse Motroen wrote:
Help again please.

Im trying to connect to MySQL server, using the PHP function:
mysql_connect('localhost', 'someuser', 'somePword');

I run it, and what I get is:
*Fatal error*: Call to undefined function: mysql_connect()

It sounds like you don't have support for the MySQL functions in your build of PHP (I assume you're using Linux, because the Windows versions of PHP 4 should come with mysql support). If you don't have the extension, then you need to recompile PHP with MySQL support.



What do I have to do in order to make it work? Im using php-4.2.2-17.


Thanks guys.


http://www.php.net/mysql

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to