Ugh, I didn't want to post this here but I can't find the answer anywhere. It seems to be an incredibly noobish problem but Alas, I've never worked with MySQL or PHP before(Another one of my ADD induced changes of mind, decided to put C on the backburner). So here goes...
I've been following an online tutorial that ande had posted about a long time ago and currenty I'm at this part of it:
http://www.tizag.com/mysqlTutorial/mysqlconnection.php<?php mysql_connect("localhost", "root", "mypass") or die(mysql_error()); echo "Connected to MySQL<br />"; ?>
I create that first bit of code, of course with my own user and pass, save it in /srv/http(where these things go in Arch) and then go to
http://localhost and click on the appropriate file to try to view it and I see nothing. Not even an error. Just a blank page. All of my other PHP scripts work fine. This is the only one that doesn't work and I simply can't figure out why. Embarrasingly enough I've been searching around for the answer for about two days with no results.
EDIT: I also noticed that if I make some code that should produce some kind of error I always just get a blank page instead. Or something like this for example:
<?php
include("noFileExistsHere.php");
echo "I'm Retarded!";
?>
Simply displays as
I'm Retarded! With no error in front of it. I'm sure this has something to do with it.