Re: Passing Variables
| From: | Harlequin | Date: | Sun, 11 Jul 2004 12:56:37 +0000 |
| Subject: | Re: Passing Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190181@lists.php.net to get a copy of this message | ||
Thanks Tim. Solved the problem.
--
-----------------------------
Michael Mason
Arras People
www.arraspeople.co.uk
-----------------------------
"Harlequin" <michael.mason@arraspeople.co.uk> wrote in message
news:20040711122909.22684.qmail@pb1.pair.com...
> 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
> -----------------------------