note 20227 rejected from functions by alindeman

From: Date: Wed, 27 Mar 2002 02:22:44 +0000
Subject: note 20227 rejected from functions by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-28260@lists.php.net to get a copy of this message
Trouble with arrays in a function call. function include_page ($script_prefs) { WORKS BUT function include_page ($script_prefs["variable"]) { DOENST On using the second section of code, PHP prints out... "Parse error: parse error, expecting `')'' in c:\apache\htdocs\index.php on line 2" Which, points to the ... function include_file call. Wierd eh ?

« previous php.notes (#28260) next »