Hi,
My first trial to use a database with PHP fails on the very first command:
$db = mysql_connect("localhost", "myuser", "mypassword") or die("Could not connect: " . mysql_error());
PHP reports: Fatal error: Call to undefined function mysql_connect() in ...etc.
I'm running MySQL 4.1.12a, PHP 5.0.4, Apache 2.0.53 on Windows XP and phpMyAdmin 2.6.3.pl1 works OK.
What the hell did I forgot?
Any help is appreciated.
Arman