I am experiencing problems with I guess linking to the database and displaying data. I'm running Apache 1.3.27, PHP 4.3.1 and MySQL 3.23.49 on a Windows 2000 machine. I can execute php statements like display dates and other things, i.e.
<?php echo "Ordered Processed"; ?>
but when it comes to displaying information from database, it renders nothing; The page is rendered BLANK. It's like the code disappears. Even the code above disappears from view and it worked a minute ago. i.e.
@ db = mysql_pconnect("localhost", "root", "password");
if (!$db)
{
echo "Error: Could not connect to database. Please try again later.";
}
What have I done wrong or what am I doing wrong? By the way, IIS is still running on my machine along with Apache. Apache is running on Port 8080.
Help!!!
Warren