10-04-2007, 09:56 AM
|
#14 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
Haha, thanks :)
btw, Haris..
% 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
ape
apes
tape
rape
mapex
etc..
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" :)
|
|
|
|