View Single Post
Old 10-29-2007, 07:21 PM   #2 (permalink)
CMellor
The Acquainted
Upcoming Programmer 
 
CMellor's Avatar
 
Join Date: Sep 2007
Location: Leeds, UK
Posts: 141
Thanks: 6
CMellor is on a distinguished road
Default

PHP Code:
function clean($str) {
return 
htmlspecialchars(mysql_real_escape_string(stripslashes($str)));

Execute:
PHP Code:
clean($_POST['var']); 
__________________
Not quite a n00b...
CMellor is offline  
Reply With Quote