mysql and php question:
the magic_quotes_gpc is set to 1. when i echo it to
the browser, it shows the added slashes. i inserted
these same values into a database. when i read the
database values and printed them, i forgot to use
stripslashes. but i was surprised to see that the
slashes were already removed. now i know this depends
on magic_quotes_runtime, which i checked, was OFF, so
how did the slashes get removed without me explicitly
doing so?

what's more interesting is that when i view the data
in the table using phpMyAdmin, the quote i put wasn't
escaped with a backslash. when i tried to do a
dump/export of the table, the output showed a
backslash before the quote. so how come? the slashes
should be showing when i say SELECT * FROM MYTABLE.

abs

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to