Jump to content

File search


Schlo_50

Recommended Posts

Hi guys,

 

I have a text area in which users can enter one keyword per line. I have split the key words into an array like so:

 

$search = $_POST['b'];

$skill = (str_word_count($search, 1, 'àáãç'));

 

Now I have those keywords, how would I go about using them to search a .DAT file for any skills matching my keywords and then print out that line of data?

My .DAT file looks like:

 

id|name|number|skills|email

 

Could someone please show me? I need an efficient way of doing this and can't find one myself..

Thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/100633-file-search/
Share on other sites

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.