note 85218 rejected from book.array by rioter
| From: | rioter@php.net | Date: | Thu, 21 Aug 2008 14:47:33 +0000 |
| Subject: | note 85218 rejected from book.array by rioter | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-143712@lists.php.net to get a copy of this message | ||
Note Submitter: djcristiandeluxe at gmail dot com
----
Sorry for my bad English.
I'm trying to make this:
<?php
if( is_array($myarray) && !isset($myarray['mysection'][$name]) )
{
$myarray['mysection'][$name] = $data;
}
?>
But it give me this error: "Parse error: syntax error, unexpected T_IF, expecting ','
or ';' in my file"
Is there any way to do this?