09-29-2007, 03:02 AM
|
#13 (permalink)
|
|
The Acquainted
Join Date: Sep 2007
Location: Leeds, UK
Posts: 141
Thanks: 6
|
I think I'm gonna use that function you have in method 1 on my project. Currently I use:
PHP Code:
<?php function escape($str) { return htmlspecialchars(mysql_real_escape_string($str)); } ?>
Your's seems safer...
__________________
Not quite a n00b...
|
|
|
|