View Poll Results: How can i search within a php page by clicking several buttons?
- Voters
- 1. You may not vote on this poll
-
vb code
-
you may post attachment
-
IMG code
Thread: Php
-
Apr 14th, 2003, 09:45 PM
#1
Thread Starter
New Member
Php
hi
i develope a web site. i use country search,buttons are in DHTML so if i connect php pages for each country then it wll need over 50 pages.How can i use the coding that wll work only one php pages within conditions i.e.the if else conditions will apply from which button clich and query will follow the search.
Pls i need coding & the logic for the search.
Thanks.........
-
Apr 15th, 2003, 12:46 AM
#2
Re: Php
Originally posted by mrahmank12
hi
i develope a web site. i use country search,buttons are in DHTML so if i connect php pages for each country then it wll need over 50 pages.How can i use the coding that wll work only one php pages within conditions i.e.the if else conditions will apply from which button clich and query will follow the search.
Pls i need coding & the logic for the search.
Thanks.........
Dude... your poll and your post make about just as much sense as a monkey talking to an ostritch with indigestion problems.
Care to rephrase and re-explain?
-
Apr 15th, 2003, 07:08 PM
#3
Stuck in the 80s
I don't think he understands what a poll is.
I think he may be trying to tell us that we can provide him with vbcode examples, image examples (?), or attachments.
If not that, then...
-
Apr 17th, 2003, 11:36 AM
#4
Frenzied Member
what is a DHTML button??
if it is a form then it doesn't matter what page it goes to you can get the value of the button and then just load the correct page or settings. if you get the info from a db than run your query depending on the value of the button pushed.
-
Apr 26th, 2003, 09:01 PM
#5
Lively Member
Make you links like this
<a href='page.php?country=aus'>Australia</a>
then your PHP code
PHP Code:
$sql = "SELECT * FROM countries WHERE country='{$_GET['country']}'";
There's something I've noticed in the last year or so...
Australian's are good at EVERYTHING !!!
-
Apr 27th, 2003, 01:34 AM
#6
Frenzied Member
I still haven't heard what a DHTML button is.
all DHTML is Javascript and css.
so again, you use the button value, not a link
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|