I never knew if you were suppose to enclose "$_POST" variable in single quotes in something like this$link = mysql_connect('localhost', $_POST['SQLname'], $_POST['SQLpass']);.
Should it be like this (#1)
$link = mysql_connect('localhost', $_POST['SQLname'], $_POST['SQLpass']);
Like this (#2)...