Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Your query looks ok.
Try to display the error, if there was one:
PHP Code:
$sql_sub="select * from tblsubcate order by subcategory asc"; $result_sub=mysql_query($sql_sub); if(!$result_sub){ echo mysql_error(); die(); }
__________________
Only a biker knows why a dog sticks his head out the window.
Last edited by tripy; 01-29-2010 at 02:49 AM..
|