Nat Colley wrote:
I went back to test mysql. it did not pass, so I uninstalled 5.5 in favor of trying 5.1. Long story short, that didn't work, either: <?php # Define MySQL Settingsdefine("MYSQL_HOST", "localhost");define("MYSQL_USER", "root");define("MYSQL_PASS", "password");define("MYSQL_DB", "test"); $conn = mysql_connect("".MYSQL_HOST."", "".MYSQL_USER."", "".MYSQL_PASS."") or die(mysql_error());
Note that all those . "" are uneeded.
Fatal error: Call to undefined function mysql_connect() in C:\Apache2\htdocs\mysql_test.php on line 9/*
The mysql extension is not enabled. Did you took the steps I mention about changing php.ini? Do you get any warning about "not being able to load mysql extension"?
Does adding dl('php_mysql.dll'); to the top of the script help? (you may have to run in in console for dl() to work)