note 85218 added to book.array

From: Date: Wed, 20 Aug 2008 23:21:29 +0000
Subject: note 85218 added to book.array
Groups: php.notes 
Request: Send a blank email to php-notes+get-143691@lists.php.net to get a copy of this message
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? ---- Server IP: 80.64.47.13 Probable Submitter: 85.53.223.82 ---- Manual Page -- http://www.php.net/manual/en/book.array.php Edit -- https://master.php.net/note/edit/85218 Del: integrated -- https://master.php.net/note/delete/85218/integrated Del: useless -- https://master.php.net/note/delete/85218/useless Del: bad code -- https://master.php.net/note/delete/85218/bad+code Del: spam -- https://master.php.net/note/delete/85218/spam Del: non-english -- https://master.php.net/note/delete/85218/non-english Del: in docs -- https://master.php.net/note/delete/85218/in+docs Del: other reasons-- https://master.php.net/note/delete/85218 Reject -- https://master.php.net/note/reject/85218 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#143691) next »