Re: displaying database output in a table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux