Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Want Script to Search a table
01-29-2007, 12:26 PM #1
- Join Date
- Jan 2007
- Thanked 0 Times in 0 Posts
Want Script to Search a table
I want a PHP script to search my table.
My table is of the form as given below:
Field 1:name eg:-Martin Joe
Field 2:Extn No eg:-74451
Field 3:Contact No eg:-9443512310
Field 4:Emp No eg:-100345
Field 5:Email ID eg:-firstname.lastname@example.org
Field 6:DOB eg:-27 Mar
Please anyone code a search script for me based on the above details.
01-29-2007, 03:38 PM #2
- Join Date
- Jun 2002
- Sydney, Australia
- Thanked 1 Time in 1 Post
I've been reviewing your posting patterns. You need to search before you start a new thread. People aren't just going to write your scripts for you, not without compensation. If you need someone to do it, then try the paid work offers and requests forum, otherwise show some initiative.
PHP MySQL tutorials:
Try that link, you should find numerous resources for learning to code in PHP and SQL.
What you need to do is create a function that will create an SQL query that will return results based on filtered criteria using logical operators. But you don't specify what criteria you need, this should usually be left to the user who is searching to allow ultimate flexibility and to allow them to find what they want easier.
If you have problems with any code, post your problem here and we will help you. But we can't just start this for you. You won't learn that way, and you don't give enough details regardless.
Last edited by Mhtml; 01-29-2007 at 03:41 PM. Reason: apparently i'm dyslexicOmnis mico antequam dominus Spookster!