Link to home
Start Free TrialLog in
Avatar of springthorpeSoftware
springthorpeSoftwareFlag for United States of America

asked on

Select control in table from array

Fairly new to PHP and could use some design assistance.  I have a page that contains a table.  That table is populated from a multi-dimensional array stored as a session variable.  I want to add a select list in one of the table columns and, when the value changes, update the appropriate array elements and refresh the page.  Must use the array because we don't want to commit the records to the mySQL database until they are complete and approved, in case the user just closes the browser without approving.

I've tried several different approaches, but can't seem to get it right, so I think I'm just on wrong track from a program flow point of view.  What's the best/recommended way to accomplish this?  Any suggestions and code snippets would be deeply appreciated.

Thanks,
Bruce
ASKER CERTIFIED SOLUTION
Avatar of Pravin Asar
Pravin Asar
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of springthorpeSoftware

ASKER

pravinasar,
Many thanks for replying.  Looks more sophisticated than I need and, at first glance, is probably over my head to implement, but at least you took the time to offer assistance.  I'm very grateful.
Bruce