Guest PcGamerz13 Posted March 20, 2006 Share Posted March 20, 2006 Fixed Quote Link to comment https://forums.phpfreaks.com/topic/5352-link-help/ Share on other sites More sharing options...
ober Posted March 20, 2006 Share Posted March 20, 2006 [code]$sql2="SELECT * FROM clan_members WHERE Gamer_Tag='" . $_REQUEST['Gamer_Tag'] . "'"; [/code]I should also add that $_REQUEST is the global array that holds the $_GET and $_POST data... $_GET would hold the data you're passing, $_POST would hold data posted from a form that uses the POST method.... just to give you a little background info. ;-) Quote Link to comment https://forums.phpfreaks.com/topic/5352-link-help/#findComment-19049 Share on other sites More sharing options...
wildteen88 Posted March 20, 2006 Share Posted March 20, 2006 If you are setting a url parameter then you will want to use the $_GET superglobal array:[code]$gameTag = addslashes($_GET['Gamer_Tag']);$sql2="SELECT * FROM clan_members WHERE Gamer_Tag='" . $gameTag . "'";[/code] Quote Link to comment https://forums.phpfreaks.com/topic/5352-link-help/#findComment-19051 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.