Smoothie
2008-05-03 07:04:44 UTC
-----
$con = mysql_connect (localhost, username, password);
?>
-----
This is the error I get:
-----
Fatal error: Call to undefined function mysql_connect() in C:\ Program Files\ Apache Group\ Apache2\ htdocs\ test03.php on line 5
-----
I have the Apache 2 server installed and working with php, and the mysql server is installed and works (at least when I log in from the command prompt). I'm sending the actual password and username. I've checked the server status to make sure its still just called 'localhost' and it is.
Just wondering if anyone knows what I'm doing wrong. Thanks!
*note: the spaces in odd places are to keep the long text strings from being terminated after so many characters*