<?php
error_reporting(E_ALL);
mysql_connect("localhost", "username", "password") or die("...");
?>
The web page I see is blank, there are no errors displayed. Mysql is working because I created a new user, database and table with MySQL Administrator.
Your script isn't outputting anything to the page, so you wouldn't see anything if it was working. Actually, the fact that you are not getting an error is probably because it is in fact working.
Previously I had code (taken from the php book that I'm using to learn php) that cycled through databases displaying their names and tables.
This didn't work. It use to output html until the mysql_connect and then that was it.
Didn't even close the body and html tags. Left them open, but there were no error messages or anything. Something wen wrong but it doesn't tell me what