Reply to Re: Addslashes / Stripslashes

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация