Thanks! this should do the job.
On Wed, Mar 3, 2010 at 8:27 AM, Domenic Santangelo domenics@gmail.comwrote:
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/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]