Posted by Toby A Inkster on 03/11/07 08:18
dajava wrote:
> mysql_real_escape_string is not part of PHP 4.0
> Therefore, he did some researches on internet
> and found out that it is part of PHP 4.3.
I believe there is an older mysql_escape_string() in some versions of PHP.
Also, for many purposes the addslashes() function will suffice, and that's
been part of PHP for many moons.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
[Back to original message]
|