Quote:
Originally posted by eva2000
well that worked but it showed all my private categories as well... since i don't know php i .....
mysql_select_db($dbname);
$query = "SELECT * FROM category where categoryid=1 or categoryid=2 or categoryid=3 or categoryid=4 or categoryid=5 or categoryid=6 or categoryid=7 or categoryid=8 or categoryid=9 or categoryid=10 or categoryid=11 ORDER BY displayorder, title ASC";
.................]\">$latest_array[title]</A> ($counter)</FONT><BR>";
}
?>[/code] so i specified each category i wanted to show with 'or categoryid=2' in the query also this displays them in the order you set them in the control panel
i just have no use for displaying this though 
[Edited by eva2000 on 09-05-2000 at 05:56 AM]
|
You can use :
where categoryid<>'xx'
xx means the categoryid that you don't want to display.