![]() |
|
#1
|
|||
|
|||
Advanced Search problemHi everybody,
I'm new in PHP. I've created a simple search code and it searches properly. My problem is that I wanna create an advanced search. I want to get country name from a drop down list and then search criteria for that specific country, but the only result I get is: 0 Would you please help me what can I do? My sample code is: PHP Code:
Thanks in advance. Last edited by JdS : 24-Jan-2005 at 05:35.
Reason: Please insert your PHP code between [php] & [/php] tags
|
|
#2
|
||||
|
||||
|
I have no idea where you have set $row["countries_id"] in your script.
If the country id is being set through the form, then you can check for it and run your query accordingly. Like in this example: PHP Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
Recent GIDBlog
The bogus security of airport screening by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using meta tags help in ranking on some search engine | pcx | Search Engine Optimization Forum | 8 | 29-Mar-2005 15:42 |
| How to search an array problem | jenmaz | C Programming Language | 4 | 17-Nov-2004 01:58 |
| weird search problem!! | JUNK KED | Open Discussion Forum | 3 | 11-Oct-2003 00:48 |
| Search Engine Positioning 101 and 201 "How To" Tips... | 000 | Search Engine Optimization Forum | 0 | 29-May-2003 10:34 |
| [class] 404 search function code | jrobbio | MySQL / PHP Forum | 6 | 22-Apr-2003 09:32 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The