Wondered in this example why  $url_field apparently must be in quotes
ie. escaped quotes? Since the whole php/mysql statement is quotes too
wouldn't it interpolate correctly w/out added quotes? What's the idea
behind it? I got this off of a a web tutorial. It's a varchar field.
Thanks for helping w/this newbie type question, Lee G.

$result = mysql_query("SELECT page_id FROM page WHERE page_url =
\"$url_field\"");

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

Reply via email to