dflow Posted May 14, 2009 Share Posted May 14, 2009 hi im posting $StartDate as MM/DD/YYYY for example 11/11/2009 in the url i pass the result is shown as StartDate=11%2F11%2F2009 how can i keep the original format? Link to comment https://forums.phpfreaks.com/topic/158046-passing-dates-in-url-as-parameter-control-format/ Share on other sites More sharing options...
ohdang888 Posted May 14, 2009 Share Posted May 14, 2009 use urlencode($StartDate) and to extract the date from the url, use urldecode($_GET['StartDate']); Link to comment https://forums.phpfreaks.com/topic/158046-passing-dates-in-url-as-parameter-control-format/#findComment-833714 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.