How can I use a php array in a mysql search query?
        Posted  
        
            by ThinkingInBits
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by ThinkingInBits
        
        
        
        Published on 2010-05-18T05:28:37Z
        Indexed on 
            2010/05/18
            5:30 UTC
        
        
        Read the original article
        Hit count: 341
        
I was going to use the scuttle solution on: http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html for handling searches on my website. I was wondering how I could take the search input from a user and turn it into a single query.
For instance, let's say a user inputted 'blue dogs' in their search query... How could I dynamically update the query to include ('blue', 'dogs') in union and intersection queries?
© Stack Overflow or respective owner