|
Posted by Ivαn Sαnchez Ortega on 04/24/07 18:31
charlespb69 wrote:
> I am new to php so this might be a real simple question. I have a
> form that users are able to input information into and the information
> goes into a mysql database table.. But single quotes (apostrophes)
> are giving me problems. What can I do about this?
RTFM, and use mysql_real_escape_string() when appropiate. That
means "always".
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
http://acm.asoc.fi.upm.es/~mr/
Proudly running Debian Linux with 2.6.20-1-amd64 kernel, KDE3.5.3, and PHP
5.2.0-10 generating this signature.
Uptime: 20:31:19 up 1 day, 6:50, 2 users, load average: 0.97, 0.79, 0.76
[Back to original message]
|