Welcome Guest, Not a member yet? Register   Sign In
Multidimensional Flashdata arrays?
#6

[eluser]gvillavizar[/eluser]
[quote author="sacarias" date="1270875279"]I dont need ajax, because i need this to work normal if the client doesnt have javascript enabled.

Anyways, i just need to know if set_flashdata() can accept a multi dimensional array, and get stuff added to the same array key.[/quote]

To answer your question: no, flashdata can't hold multidimensional array.

And about your problem, you don't need ajax, and you don't need a success page either. Using the form validation class we can load the form view if the submission wasn't successful. If the submission was successful just clear up the form data, set a flashdata variable and then load the signup form again with the flashdata displaying.

Its actually a simple issue that may turn into a monster if you want to handle it all by yourself.

If you need a little more deep explanation just let me know.


Messages In This Thread
Multidimensional Flashdata arrays? - by El Forum - 04-09-2010, 04:52 PM
Multidimensional Flashdata arrays? - by El Forum - 04-09-2010, 05:24 PM
Multidimensional Flashdata arrays? - by El Forum - 04-09-2010, 05:37 PM
Multidimensional Flashdata arrays? - by El Forum - 04-09-2010, 05:47 PM
Multidimensional Flashdata arrays? - by El Forum - 04-09-2010, 05:54 PM
Multidimensional Flashdata arrays? - by El Forum - 04-09-2010, 10:31 PM
Multidimensional Flashdata arrays? - by El Forum - 04-10-2010, 09:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB