n3ightjay Posted March 4, 2009 Share Posted March 4, 2009 Hi all, I just have a question as to how you individually would handle something. I have a site that users populate a database table (45 fields) 2 - 5 fields at a time via ajax, now my question to you is: Would you insert the data each time the "next" button is hit (i.e. 2 - 5 fields at a time) or store in a session variable for example ... Im definately leaning towards on each submit to avoid data lose. Anyways just looking for some experienced insight thanks in advance Neight Link to comment https://forums.phpfreaks.com/topic/147909-php-mysql-ajax-process/ Share on other sites More sharing options...
kickstart Posted March 4, 2009 Share Posted March 4, 2009 Hi To me it would depend on the actual data. If it is only partially entered would it make any sense and could entry be continued at a later date? All the best Keith Link to comment https://forums.phpfreaks.com/topic/147909-php-mysql-ajax-process/#findComment-776288 Share on other sites More sharing options...
Boo-urns Posted March 4, 2009 Share Posted March 4, 2009 Well If the data is being submitted via ajax, wouldn't you set up the form so when the user clicks next it just shows the next part of the form? Essentially being the same form? Or will the data be submitted via $_POST on submit instead of using ajax for the form? Link to comment https://forums.phpfreaks.com/topic/147909-php-mysql-ajax-process/#findComment-776354 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.