At 2:11 +0000 1/6/04, Abs wrote:
hi
the mysql manual suggests that we use the
mysql_escape_string() function when generating dynamic
urls.

Hmm ... Where does the MySQL manual say this?


 is there any other situation when it is
required? and could someone explain when/why this
would be needed for urls...other than to make the
browser understand that character (such as ' # etc. in
the url).

It's not needed for URLs at all. When you're generating dynamic URLs, you're generating web pages, not generating data to be stored in MySQL. I don't understand your question at all.


and if magic_quotes_gpc is on, any and all escape characters are backslashed right? how does when check what the accepted mysql escape characters are? (like -- for a comment)

I don't understand this, either. Dash is not an escape character.


thanks abs


--
Paul DuBois, MySQL Documentation Team
Madison, Wisconsin, USA
MySQL AB, www.mysql.com

MySQL Users Conference: April 14-16, 2004
http://www.mysql.com/uc2004/

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



Reply via email to