How to make search functions?
View Single Post
10-04-2007, 09:56 AM
Join Date: Sep 2007
Location: Sweden, Stockholm
Haha, thanks :)
% is a like.. a universal mark, that basicly means "anything".
So you search for anything-$searchword-anything.
So if you search for ape, you would get the results
That's why they are good ;)
Also if you search a database, the database "post" would be a string, so you if you don't use the %, you have to search for the whole post to get a result.
Let's say you have a news post with this:
"Once upon a time there was an ape..."
If you don't use %, and search for ape, you don't get anything, cuz you have to search for "Once upon a time there was an ape" to a result.
IF you use, you would get the result "ape" and the newspost "once upon a time there was an ape" :)
View Public Profile
Send a private message to Tanax
Visit Tanax's homepage!
Find More Posts by Tanax