ID: 10020 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: nt PHP Version: 3.0.16 New Comment:
Sorry, but the bug system is not the appropriate forum for asking support questions. Your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Thank you for your interest in PHP. the "variable variables" feature works on plain variable names only, there is no array resolving done $$t is equal to $GLOBALS[$t] here and $GLOBALS["extractid[$i]"] is not $GLOBALS["extractid"][$i] Previous Comments: ------------------------------------------------------------------------ [2001-03-27 09:06:53] [EMAIL PROTECTED] in html vFormInnerHTML = vFormInnerHTML + '<INPUT TYPE=HIDDEN NAME="extractid[]" VALUE='+el.value+'>'; in serverside PHP for ($i=0;$i < count($extractid); $i++) { $t = "extractid[".$i."]"; echo $t.'<br>'; echo $$t.'<br>'; //$$t is empty!! echo $extractid[$i].'<br>'; } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=10020&edit=1