Passing Array to Form

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've read the user info from database and trying to edit the info using a 
form.  But I can't seem to pass the array values to the form using method 
below.  But it does work if I use non array variable.  Any idea?


$userEdit[FName] = "John";
$userEdit[LName] = "Williams";
...
$forminfo = <<<EOD
<form method="POST" action="$PHP_SELF">
...
...
  <input type="text" name="$userEdit[FName]" size="20">
  <input type="text" name="$userEdit[LName]" size="20">
...
...
EOD;



-------------------------------------------------
This mail sent through ISOT.  To find out more 
about ISOT, visit http://isot.com

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux