[PHP] Re: array variables with or without quotes

2006-02-22 Thread Chuck Anderson
2dogs wrote: I recently encountered a situation where I had to retrieve data from a MYSQL database table with a field named include. My code looked like this: $content_result = mysql_query('SELECT * FROM calander') or die(mysql_error()); $content_row = mysql_fetch_array($content_result); if

RE: [PHP] Re: array variables with or without quotes

2006-02-22 Thread Jason Karns
a key. If it is found as a constant, then the constant's value is used as the key. Jason -Original Message- From: Chuck Anderson [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 3:30 PM To: php-general@lists.php.net Subject: [PHP] Re: array variables with or without quotes

[PHP] Re: array variables with or without quotes

2006-02-22 Thread 2dogs
Chuck, you are the man! I decided to reread the manual word for word but have only gotten through Strings as of last night. Thanks for zeroing me in on the right spot. txs 2dogs Chuck Anderson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 2dogs wrote: I recently encountered