Welcome Guest, Not a member yet? Register   Sign In
Quick regex routing question
#3

[eluser]obiron2[/eluser]
In the past I have had to do this where I had a whole bunch of data that needed to be passed back to the server from a clientside javascript object as the business rules were too complex to carry out without database interaction.

I used the javascript serialise functions and the encoded the JSON object with URLEncode and passed the JSON object as a single parameter to the controller where I URLUnecoded it and then unserialised it so that CI would play nicely with it.

You should be able to find the Javascript serialise / unserialise functions here

http://www.phpguru.org/


Messages In This Thread
Quick regex routing question - by El Forum - 12-01-2008, 08:18 AM
Quick regex routing question - by El Forum - 12-01-2008, 08:32 AM
Quick regex routing question - by El Forum - 12-01-2008, 08:34 AM
Quick regex routing question - by El Forum - 12-01-2008, 09:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB