Jump to content

[SOLVED] Searching the Database.


joeysarsenal

Recommended Posts

you have to use the like, soundex for searching

 

sample

hi im teng <-- thi is the key

now you can do something like

select field from table where field like '%hi im teng%'

 

or do an explode

$x= explode (' ',hi im teng);

"select field from table where field like '%".$x[0]."%' or field like '%".$x[1]."%' etc........."

 

 

something like that

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.