Guest PcGamerz13 Posted March 20, 2006 Share Posted March 20, 2006 Fixed Quote Link to comment 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 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 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.