Jump to content

store form data in an array and update array with each submit click


marklarsen85

Recommended Posts

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]

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.

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.