searching
| From: | bryan | Date: | Thu, 26 Oct 2000 18:14:49 +0000 |
| Subject: | searching | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-3965@lists.php.net to get a copy of this message | ||
I realitively new to PHP, so some things still trip me out.
If I have a search function to search for anything in the database, how
would I go about doing it?
I know I have to
$query = SELECT * FROM my_table;
$result = mysql_results($query, $dbcnx);
I know I have to loop through the $result, but what should I do to bang up
against the db to search for a string from my input textbox?
Thanks for the help!
Bryan Fitch
Bryan Fitch
Programmer
Concept-Factory
http://www.concept-factory.com
bryan@concept-factory.com