• Advertisement
Sign in to follow this  

[web] PHP: Passing Multiple Variables in a URL

This topic is 4147 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Heya I can quite happily pass a variable in a url to another page, but how do you pass multiple variables? How would you modify the example below? example.html contains.... <ahref="test.php?var=mymessage">test link and test.php contains <?php echo $_GET['bg']; ?>

Share this post


Link to post
Share on other sites
Advertisement
Like this:

http://www.gamedev.net/community/forums/post.asp?method=reply&topic_id=419614

using the & to add on more parameters. I use $_REQUEST['method'] etc also.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement