I want to create a dropdown menu that will filter my database in this way:If I have a field in my table with cities and I want to find some infos from another field for one specific city ,how do i show the infos for that city only?
Thnx in advance guys...
Help needed please
Moderator: General Moderators
Code: Select all
select `some infos` from cities where city='$somevar'- scorphus
- Forum Regular
- Posts: 589
- Joined: Fri May 09, 2003 11:53 pm
- Location: Belo Horizonte, Brazil
- Contact:
... and use a jump menu to fill this $someVar:
Scorphus.
- $someArray <- cities names;
- use printSelect($someArray, 'cities', $_POST['cities'], 'onChange="javascript:document.form1.submit();"') to draw the jump menu.
Scorphus.