[web] PHP: Passing Multiple Variables in a URL
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'];
?>
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement