Passing Variables

From: Date: Sun, 11 Jul 2004 12:29:21 +0000
Subject: Passing Variables
Groups: php.general 
Request: Send a blank email to php-general+get-190178@lists.php.net to get a copy of this message
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 -----------------------------

« previous php.general (#190178) next »