RE: [PHP] IE7 = end tag?

2007-05-18 Thread Edward Kay
-Original Message- From: Jim Moseby [mailto:[EMAIL PROTECTED] Sent: 17 May 2007 21:29 To: 'rauhspund'; php-general@lists.php.net Subject: RE: [PHP] IE7 = end tag? #-- .meta info include(../plugins/lib/pluginmetadata.php); $_cached = !empty($_POST); ewiki_pmd($_cached

RE: [PHP] IE7 = end tag?

2007-05-18 Thread Edward Kay
The extra comma at the end of the array definition is still valid syntax in PHP. Try for yourself: php -r '$a = array(a = foo, b = bar,); print_r($a);' Interesting. Do you mean 'Valid Syntax' in that it 'works without error', or 'Valid Syntax' in that 'it was designed to work that

Re: [PHP] IE7 = end tag?

2007-05-18 Thread Robin Vickery
On 18/05/07, Jim Moseby [EMAIL PROTECTED] wrote: The extra comma at the end of the array definition is still valid syntax in PHP. Try for yourself: php -r '$a = array(a = foo, b = bar,); print_r($a);' Interesting. Do you mean 'Valid Syntax' in that it 'works without error', or 'Valid

RE: [PHP] IE7 = end tag?

2007-05-18 Thread Jim Moseby
The extra comma at the end of the array definition is still valid syntax in PHP. Try for yourself: php -r '$a = array(a = foo, b = bar,); print_r($a);' Interesting. Do you mean 'Valid Syntax' in that it 'works without error', or 'Valid Syntax' in that 'it was designed to work that

Re: [PHP] IE7 = end tag?

2007-05-17 Thread Stut
rauhspund wrote: My Browser IE7 reads = as in array declaration as end tag and exit from php. All text afterwards will displayed as text. Your browser should not be seeing PHP code, so you might want to start by making sure your web server is set up to process PHP files properly. -Stut --

RE: [PHP] IE7 = end tag?

2007-05-17 Thread Jim Moseby
#-- .meta info include(../plugins/lib/pluginmetadata.php); $_cached = !empty($_POST); ewiki_pmd($_cached); #-- defaults for the separately handled database settings in $db[] if (!($db = $_REQUEST[db])) { $db = array(type = NULL, server = localhost, dbname = test, table = ewiki, dir =