I've been starring at this code for awhile and I can't find where I am going wrong. Without this code, the page displays perfectly, with this code I just get a blank page... no error code or anything. I'm sure it's something stupid I'm overlooking but for the life of me I can't find it. Any help would be extremely appreciated!Thanks!
PHP Code:
<?php
// Address error handing.
ini_set ('display_errors', 1);
error_reporting (E_ALL & ~E_NOTICE);
// Connect and select.
require_once ('admin/connections/connect.php');
// Define the query.
$query = 'SELECT * FROM admin_projectofthemonth Where project_id="1";
if ($r = mysql_query ($query)) { // Run the query.
// Retrieve and print every record.
while ($row = mysql_fetch_array ($r)) {
print "<p><b>Project Name:</b> {$row['project_name']}<br>
<b>Contact:</b> {$row['project_contact']}<br>
<b>Location:</b> {$row['project_location']}<br>
<b>Sales Rep:</b> {$row['project_salesrep']}<br>
<b>Email:</b> <a href=\"mailto:{$row['project_email']}\">{$row['project_email']}</a><br>
<b>Description:</b> {$row['project_description']}<br>
<b>Customer Comments:</b> {$row['project_customercomments']}<br>
</p><hr>\n";
}
} else { // Query didn't run.
die ('<p>Could create the table because: <b>' . mysql_error() . "</b>. The query was $query.</p>");
} // End of query IF.
?>



Thanks!

Bookmarks