Is it User_name or UserName? Also try this string with 'UserName' in single quotes.
print "<INPUT TYPE=\"hidden\" NAME=\"User_name\" VALUE="$_POST['UserName']\">"; **** > 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]'>"; **** > > but nothing a new. > > I have checked "register_globals" is on. > in my first page I used session_start(); and global $HTTP_SESSION_VARS; > I dont know if this cause the problem that I had. > > Thanks again and more help please. > Adam -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php