Page 1 of 1

PHP multiple entry form script

Posted: Fri Oct 01, 2010 12:09 pm
by whamsicore
Hi guys,

I'm looking for a PHP script setup where I can fill in multiple entries (corresponding to database record to be saved), have a save button which will save the entry individually, as well as a 'save all' button which will save all the form entries all at once (to MySQL database naturally). Anybody can point me to some existing code or give me some pointers would be great. If I have to write the whole thing I figure I may use ajax to do the save on individual entries, and POST back the inputs to the current page for the 'save all' function. Sounds good? (But it would be great if I can find existing code, don't want to reinvent the wheel as they say)

P.S:Looks are not critical at this point but if anyone could point me to a cool CSS styling scheme it will be mucho appreciated as well.

Re: PHP multiple entry form script

Posted: Sat Oct 02, 2010 7:04 pm
by JakeJ
Using AJAX is probably a good idea. But if you're going to do it for the individual entries, do it for every form. I use jQuery and the form plug in, it works great.

Re: PHP multiple entry form script

Posted: Sun Oct 03, 2010 1:21 pm
by whamsicore
Thanks for the reply I will look into Jquery:P