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]

Link to comment
Share on other sites

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
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.