Date Time in URL...And percent 20 instead of space... |
[eluser]LeMec[/eluser]
Hello, I am allowing the user to pick a Date and Time range and passing these values as parameters in a controller function($Start,$End,etc...) The Date Time is built using javascript and ends up with this format: "2012-05-31 23:59:00". The problem that I have is that when retrieving these values, they have Code: "Percent % 20 That feels weird...Is there a better way of doing this? Alain
[eluser]CroNiX[/eluser]
urldecode() Code: function($Start,$End,etc…)
[eluser]LeMec[/eluser]
Thanks CroNiX. I think this should be better that explode and concat back Alain |
Welcome Guest, Not a member yet? Register Sign In |