This works for me...
echo ' <INPUT TYPE=HIDDEN NAME="writer" VALUE=" ' . $auth_user . ' "> ';

----- Original Message -----
From: "Andrew Austin" <[EMAIL PROTECTED]>
To: "Php Lists (E-mail)" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to