It should be:
echo $_GET['username'];

You shouldn't have the dollar sign in the brackets.
$ represents a variable the entire $_GET['username']
is the variable.


--- Frank Tudor <[EMAIL PROTECTED]> wrote:
> I have a URL including variables...  It looks like
> this:
> 
>
http://registration.php?username=111111&[EMAIL PROTECTED]
> 
> But I can't pullit into the next page's form
> 
> Here is what is in the form and other things I have
> tried:
> 
> $username = $_HTTP_POST_VARS['username'];
> 
> echo $_GET['$username'];
> 
> echo $_POST['$username'];
> 
> This page sumbits with PHP_SELF if that helps with
> this puzzle.
> 
> Can someone tell me what I'm doing wrong?
> 
> Also I do have an include file that looks for
> session
> information but Ihave disabled it to see if I can
> pass
> variables.
> 
> Frank
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product
> search
> http://shopping.yahoo.com
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to