Guest PcGamerz13 Posted March 20, 2006 Share Posted March 20, 2006 Fixed 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. ;-) 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] Link to comment https://forums.phpfreaks.com/topic/5352-link-help/#findComment-19051 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.