Jump to content

Retreiving Data from a Database <--- Basic issue!


npsari

Recommended Posts

I have a Table (in my database) which consists of 3 Colombs

 

Title:

Story:

Author:

 

I know that if the Title is only 1 word, I use this code to retreive Data:

 

SELECT * from $Tablename where (Title ='Word') 

 

However, what if the tittle is more than One word (With spaces)...

Example: "The story of a brave man"

 

How can the code match ANY of the words in the Title

Link to comment
https://forums.phpfreaks.com/topic/41024-retreiving-data-from-a-database/
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.