08-09-2008, 07:18 PM
|
#3 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: In my basement
Posts: 368
Thanks: 44
|
Mysql Still hates me:
Code:
$query = "
SELECT `slug` , `title`
FROM `aaron_eglast`.`egle_post`
WHERE `category` = 'HTML'
ORDER BY `order` ASC";
$query = mysql_query($query);
$q = mysql_fetch_array($query);
if (mysql_num_rows($q) == 0)
throw new exception('For some reason, the other tutorials in this category could not be found.
They will not be displayed at the side of this page.');
The query returns properly in PHPmyAdmin, yet it throws an error on the page.
|
|
|