At 9:27 PM -0400 5/25/10, David Mehler wrote:
I'm trying to display mysql database output in a formatted table. My
problem is i'm getting a blank screen with no errors.
-snip-
<?php
$query = "SELECT * FROM events";

  if (!($result = @ mysql_query ($query, $db)))

displayEvents($result);
mysql_close($db);

}
?>


Not that this is the problem, but "@" suppresses error reporting.

Cheers,

tedd


--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to