Posted by Jerry Stuckle on 05/15/06 20:14
Areric wrote:
> Thanks guys. If anything your giving me options to prove it was a
> config change and that im not completley crazy (although i suppose that
> has yet to be proven).
>
> As for mysql_escape_string is that a mysql function or php. hmm i
> suppose i could look it up, nm.
>
> Ill check in to that.
>
Areric,
It's a MySQL function to format strings to be able to place them into a MySQL
database. If you're running a fairly recent release of MySQL (I don't remember
exactly when it became available), mysql_real_escape_string() is preferable
because it takes into account the current character set being used by MySQL.
When working with a database, it's almost always better to use database
functions such as this vs. generic PHP functions.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|