To go back to a previous conversation, I would not put it on the action=. You are using METHOD=post? I wold use <input name=UserID value==\"$UserID\" type=hidden> or to really hide them use session variables so they are completely hidden. Or use a cookie (but that is not the most secure way).
Harlequin wrote: > I'm just working on my syntax for passing a variable "UserID" from one page > to the next and it works a little like this so far: > > On my form I have: > "<form action='updated.php?UserID=\"$UserID\"... > > The URL posts: > http://...load.php?UserID="JDoe" > > And when I echo the "$UserID" on this page I get: > Code: > <?php echo "for example: ['$UserID']"; ?> > > Generates: > for example: ['\"JDoe\"'] > > Which part of my syntax is incorrect...? > > -- > ----------------------------- > Michael Mason > Arras People > www.arraspeople.co.uk > ----------------------------- -- John Taylor-Johnston ----------------------------------------------------------------------------- "If it's not open-source, it's Murphy's Law." ' ' ' Collège de Sherbrooke: ô¿ô http://www.collegesherbrooke.qc.ca/languesmodernes/ - Université de Sherbrooke: http://compcanlit.ca/ 819-569-2064