computerpro
01-31-2006, 08:52 PM
Well iam coding a search engine in php and would like some help using mysql databasing.
So far I have:
$query = "SELECT * FROM tbl WHERE (column LIKE '%".$v."%' OR column LIKE '".$v."%' OR column LIKE '%".$v."')";
// $v is what they want to search for
How does one insert information in a column etc.
Thanks!
So far I have:
$query = "SELECT * FROM tbl WHERE (column LIKE '%".$v."%' OR column LIKE '".$v."%' OR column LIKE '%".$v."')";
// $v is what they want to search for
How does one insert information in a column etc.
Thanks!