PDA

View Full Version : Search Database Table


Dimava
Wed 15th May '02, 6:48pm
Is it possible to search the table of a specified db for a string?

thanks

Dimava

scoutt
Wed 15th May '02, 7:17pm
yup or even a word.

just do your statement like so

"select * from table where data = "%$searchword%' "

the % means it doesn't matter what is in front or behind it.

Dimava
Thu 16th May '02, 6:23pm
ok, thanks