you are right but thats just me copying and pasting like a mad man trying to make it right.
It is still not working.
it is showing the following
Warning: Supplied argument is not a valid MySQL result resource in /home/search.php on line 301
can anyone tell me if ereg can be used in the select statement like that.
Thanks