note 72396 deleted from function.array-map by philip

From: Date: Thu, 22 Feb 2007 01:59:00 +0000
Subject: note 72396 deleted from function.array-map by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-123686@lists.php.net to get a copy of this message
Note Submitter: jmalinsky at gmail dot com ---- A quick way to ensure that all your POSTed form variables are properly sanitized before adding them to your MySQL Database: $_POST = array_map('mysql_real_escape_string', $_POST); Then just access your variables as you normally would (ie: $name = $_POST['name'];)

« previous php.notes (#123686) next »