Re: Need some HELP (not works)
| From: | jeffrey_n_Dyke at Keane dot com | Date: | Mon, 10 May 2004 20:02:34 +0000 |
| Subject: | Re: Need some HELP (not works) | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-34351@lists.php.net to get a copy of this message | ||
>Thanks pepole.
>I've tried but still does not work.
>when I put the varaibles name between ' '
>I found this error:
>Parse error: parse error, expecting
T_STRING' or
>T_VARIABLE' or
>`T_NUM_STRING'.
>I typed in this way
>**** print "<INPUT TYPE='hidden' NAME='User_name'
>VALUE='$_POST[UserName]'>"; ****
This is pre register_global concerns...
try ..
print "<INPUT TYPE='hidden' NAME='User_name'
VALUE='{$_POST[UserName]}'>;
or
print "<INPUT TYPE=\"hidden\" NAME=\"User_name\"
VALUE=\"{$_POST[UserName]}
\">;
for a little better HTML.
HTH
Jeff
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends
http://www.msn.co.uk/messenger
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php