Re: session variable name into form
| From: | PHP | Date: | Mon, 09 Jul 2001 14:31:39 +0000 |
| Subject: | Re: session variable name into form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56930@lists.php.net to get a copy of this message | ||
This works for me...
echo ' <INPUT TYPE=HIDDEN NAME="writer" VALUE=" ' . $auth_user . '
"> ';
----- Original Message -----
From: "Andrew Austin" <plant-tech@xtra.co.nz>
To: "Php Lists (E-mail)" <php-general@lists.php.net>
Sent: Monday, July 09, 2001 12:25 AM
Subject: [PHP] session variable name into form
I have a session variable called auth_user and want to put the variable into
a form field. I have tried the following and similar but am not succeeding.
<INPUT TYPE=HIDDEN NAME="writer" VALUE="<?php echo $auth_user;?>">
how else might it be done
aa
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com