LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-24-2008, 12:07 PM   #1
empoweringlinux
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
Power Search in PHP


Dear Experts,
I would like to search all fields in my database (mysql) using a single field. That is, If I entered "Sr" in the search field. it will search "sr" in all the fields in a table. How to write a php code to do this power search? It's like google's search.
 
Old 12-24-2008, 02:10 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Sounds like homework to me. What have you already tried?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP search path jmanjohn61 Linux - Software 2 01-21-2009 12:47 PM
possible search crash.../home/httpd/linuxquestions/questions/search.php aus9 LQ Suggestions & Feedback 3 09-06-2008 07:27 PM
PHP search query? cdc5205 Programming 2 03-17-2006 08:15 PM
PHP-XML Search Engine Boby Programming 1 04-25-2005 04:34 AM
php search array spoody_goon Programming 2 04-30-2004 07:20 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration