supermerc Posted July 9, 2009 Share Posted July 9, 2009 Hey, this might be a stupid question but I want to do a curl funtion and have a variable in it forexample: curl_setopt($ch, CURLOPT_URL, 'http://quiver.outwar.com/trade.php?tradeWith=7200&addItem=6919211&addHash=$hash'); $hash is the variable I want to put in but i dont know what to put around it for it to count as the variable and not just the text $hash. thx Quote Link to comment Share on other sites More sharing options...
allenskd Posted July 9, 2009 Share Posted July 9, 2009 well... you could start by adding a dot.. curl_setopt($ch, CURLOPT_URL, 'http://quiver.outwar.com/trade.php?tradeWith=7200&addItem=6919211&addHash='.$hash); 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.