I believe I've got it working, thank you.
I turned on startup errors in PHP.ini, and found out that I was missing php_mysql.dll. After a quick Google search, I downloaded it, put it in my PHP folder, restarted Apache, and ran the mysql_connect page again, and it said "Connected to MySQL."...