View Single Post
Old 08-23-2004, 09:30 AM   #5 (permalink)
hatchet
v7n Mentor
 
hatchet's Avatar
 
Join Date: 10-11-03
Posts: 1,137
iTrader: 0 / 0%
Latest Blog:
None

hatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nice
You have the search functions already in place I assume.. at the end of that call another function to insert it into the searchstring table..
function addlastsearch($q) {
$q=trim(addslashes($q));
$sql="INSERT INTO searchstring (id, string) VALUES ('', '$q');
$result=mysql_query($sql) or DIE("Could not insert");
}

Something like that anyway.
hatchet is offline   Reply With Quote