$string = "this is an example";
$tok = strtok($string," ");
while($tok)
{
echo "$tok<br>";
$tok=strtok(" ");
}
//echoes:
//this
//is
//an
//example
--i used this strtok() function to create this string-->
$searchword = "%this%is%an%example%";
--and it's enough to put it in a MySQL query like this one:
"select * from texts where data like '$searchword'"...
then my problem is solved,.. but not completely..
this search is not flexible like yahoo search style..
Haha, for a moment i thought i found the system of yahoo engine with writing 5 lines of code🙂 :p 😃