marklarsen85 Posted April 18, 2011 Share Posted April 18, 2011 hi i am trying to make a payroll calculator script that takes employee info, calculates pay, displays submitted info in a table, stores info in an array, and updates the array when new info is submitted. i have most of these accomplished, i am having trouble with the "store into an array, and update the array when new info is submitted" parts of the project. i am still not very fluent in php so there may be easier ways to achieve what i have so far. any pointers would be a great help, this part has got me stumped. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/234063-store-form-data-in-an-array-and-update-array-with-each-submit-click/ Share on other sites More sharing options...
micah1701 Posted April 18, 2011 Share Posted April 18, 2011 when you say "i have most of these accomplished" I assumed that would be in the attached file. Your file had no PHP code what-so-ever; making me feel like I might have just been tricked into downloading a devious file. hmmm. anyway, post whatever code you DO have (using the form's [ #] CODE button) then ask a specific question and I'm sure someone will be able to help you out. Link to comment https://forums.phpfreaks.com/topic/234063-store-form-data-in-an-array-and-update-array-with-each-submit-click/#findComment-1203073 Share on other sites More sharing options...
murli800 Posted April 18, 2011 Share Posted April 18, 2011 u have to use my sql query like INSERT INTO tablename.......for insertion of data in database and UPDATE query to update the data..if u are interersted then reply to this msg...and i can provide u the full code of calculator..but for dis u have to tell me the full objective of your task..and provide me the full details Ashish Link to comment https://forums.phpfreaks.com/topic/234063-store-form-data-in-an-array-and-update-array-with-each-submit-click/#findComment-1203101 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.