[support] sanitizing text box input for sql searches (custom	search)
    Domenic Santangelo 
    domenics at gmail.com
       
    Tue Mar  2 23:27:58 UTC 2010
    
    
  
http://api.drupal.org/api/function/db_query/6
On Mar 2, 2010, at 3:08 PM, spartaguy spartaguy wrote:
> 
> 
> Hello,
> 
> I want to use the data from a textbox input to do a select statement on a sql db.
> 
>  Are there any inbuilt methods that drupal uses to sanitize textbox inputs?
> I'm worried if I accept data in a textbox and apply it to an sql command it will do bad stuff (tm).
> 
> Is there a simple code snippet or module for sanitizing?
> 
> 
> 
> Paul
> 
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]
    
    
More information about the support
mailing list