View Single Post
Old 5th March 2004, 12:03 AM   #3

Username: buchard
Rank: WF101 Newbie
Join Date: Mar 2004
Posts: 6
Points: 0.00
Send a message via Yahoo to buchard
Default It's your query ....

Your query:

$sql="SELECT name FROM cms_categories";

You should change this to (for example):

$sql="SELECT name FROM cms_categories where catid='2'";

You forgot the logic condition "where ......."

hope it's help u :wink:
__________________
<b>Buchard</b>
buchard is offline   Reply With Quote