Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie needs help with multiple query string

Status
Not open for further replies.

jewel464g

Technical User
Jul 18, 2001
198
US
<A target=&quot;_new&quot; Href=&quot;name.php?username=<? echo((urlencode($username)).&quot;\&t=&quot;.(urlencode(time()));&quot; ?>&quot;>Show name.</a>

Just starting to learn php and can't get this to work. I'm sure it's something little, it should pass 2 parameters to the next page, but it's giving me an error on this line. Thanks for any help.
 
It's probably because of the &quot; after the last statement. Try this:
<A target=&quot;_new&quot; Href=&quot;name.php?username=<? echo((urlencode($username)).&quot;\&t=&quot;.(urlencode(time())); ?>&quot;>Show name.</a> //Daniel
 
Still didn't work, I'm still getting the same parse error
 
I figured it out.

<A target=&quot;_new&quot; Href=&quot;name.php?username=<? echo(urlencode($username).&quot;&t=&quot;.time()); ?>&quot;>Show name.</a>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top