imedina Posted April 3, 2007 Share Posted April 3, 2007 Hi, I'm now coding a form that is displayed trough 5 steps using session. I would like to save data to mysql-db at the end of the process or at the end of each step. I've tried to save session_data as array in db, but it doesn't work. Anyone has experience? Link to comment https://forums.phpfreaks.com/topic/45424-form-with-session-and-mysql/ Share on other sites More sharing options...
pocobueno1388 Posted April 3, 2007 Share Posted April 3, 2007 You can't store "arrays" in the DB. You have to loop through them and add each value as the loop goes. Can you post your code? Link to comment https://forums.phpfreaks.com/topic/45424-form-with-session-and-mysql/#findComment-220556 Share on other sites More sharing options...
imedina Posted April 3, 2007 Author Share Posted April 3, 2007 Yep, I meant that. No problem with how arrays work. Neither with storage of values in db. Problem is with action of form. Now is used to do the transition between steps and then I can't use it to call a storage in db as usually I do. Now I'm at work and can't post the code but I do that as soon as I'm at home. thanks Link to comment https://forums.phpfreaks.com/topic/45424-form-with-session-and-mysql/#findComment-220566 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.