Help - Search - Members - Calendar
Full Version: URL query - like the invision urls
Invision Power Services > Community Forums > Community Web Design and Coding
replaya
How do I create the url links like the ones on Invision, which when you hover over the links they all have the index.php? and then some code to represent the page

ie

http://forums.invisionpower.com/index.php?automodule=blog - blog
http://forums.invisionpower.com/index.php?...&module=gallery - gallery
http://forums.invisionpower.com/index.php?act=Help

I can do it like this, but I would like to know how it is done there way.

if(isset($_POST['Login']) == 0) {
echo "<a href='newaccount.php?action=REG&CODE=00'>";
echo "Create an account";
echo "</a>";
}

Thanks in advanced
Stephen
Using $_GET

$_GET is for variables passed in the URL, $_POST is for variables from a form post
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.