iarp Posted March 13, 2009 Share Posted March 13, 2009 As per the title. I was going to do something along these lines: <?php $str = $row1['key_name']; $order = array("&"); $replace = ''; $newstr = str_replace($order, $replace, $str); ?> But i don't know what to place in $replace that will go through a $_GET request without breaking up, and then on the receiving end undo the str_replace back to & Quote Link to comment https://forums.phpfreaks.com/topic/149200-solved-need-to-send-through-url-but-not-for-_get/ Share on other sites More sharing options...
corbin Posted March 13, 2009 Share Posted March 13, 2009 I'm not positive what you're trying to do, but it seems that urlencode might be of use. If not, you will probably just need a foreach loop for the str_replace. Quote Link to comment https://forums.phpfreaks.com/topic/149200-solved-need-to-send-through-url-but-not-for-_get/#findComment-783502 Share on other sites More sharing options...
iarp Posted March 13, 2009 Author Share Posted March 13, 2009 Perfect, exactly what i needed... learn a little bit more every day. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/149200-solved-need-to-send-through-url-but-not-for-_get/#findComment-783506 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.