homepage Welcome to WebmasterWorld Guest from 54.161.192.61
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Databases
Forum Library, Charter, Moderator: open

Databases Forum

    
can I SELECT entries based on contents of text fields
mysql
Sarah Atkinson

10+ Year Member



 
Msg#: 107 posted 3:12 pm on Oct 25, 2005 (gmt 0)

I want to select all files whose question field contains the word 'his' can I do this?

 

coopster

WebmasterWorld Administrator coopster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 107 posted 3:49 pm on Oct 25, 2005 (gmt 0)

I suppose you could loop through your files and execute a LIKE query, processing any results that come back for each iteration of the loop.

Sarah Atkinson

10+ Year Member



 
Msg#: 107 posted 4:11 pm on Oct 25, 2005 (gmt 0)

jatar sugested something like that and it worked. I'm working with it in php admin so no writing php code here.

Basicly I'm just going though fixing typos. and unfixing sentence structure which I fixed when entering but apperently needs to be broken because state goverment doesn't care aboult correctness just consistancy.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Databases
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved