Closed

Single Form for View/Edit/Add/Delete of Multiple Rows (php/MySql)

This project was awarded to anooshabora for $20 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Skills Required
Project Budget
$10 - $30 USD
Total Bids
11
Project Description

I already have a php page that displays multiple rows from a MySql table. I need the same page to allow users to edit the multiple rows.

- Default: a tabular view-only page with multiple rows and columns. There will be a button for "Edit"

- When a user clicks the "Edit" button, the view-only fields become editable.

- "Edit" button is replaced by "Save" button. Another button appears for "Discard"

- There will be one empty row at the bottom to add a new row to the database.

- As soon as this row is filled, another one appears (there should always be 1 empty row).

- Each row will have an "x" at the far right to delete the row from the database.

-- When the "x" button is clicked, the user will be promoted if he/she is sure.

- The user then edits the form on any of the rows. When finished, user clicks "Save".

- Data is validated and updated on the database. Form goes back to being view-only.

- Some sections of the form should be grouped (see below)

-- If there's a grouping, there should be an empty row after each group.

-- At the bottom, there should be a button to add a new group.

----------------+---------------------+-----------+

Name | Description | Price |

----------------+---------------------+-----------+

Breakfast (This is the group)

----------------+----------------------+-----------+

Eggs | Hard boiled | [url removed, login to view] |

----------------+----------------------+-----------+

Pancake | Contains nuts | [url removed, login to view] |

----------------+----------------------+-----------+

| | |

----------------+----------------------+-----------+

Lunch

----------------+----------------------+-----------+

Pasta | Meat sauce | [url removed, login to view] |

----------------+----------------------+-----------+

Sandwich | Turkey, cheese | [url removed, login to view] |

----------------+----------------------+-----------+

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online