Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP Databases
PHP Databases Using PHP in conjunction with databases. PHP questions not specific to databases should be directed to one of the other PHP forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 9th, 2006, 01:05 PM
Registered User
Join Date: Feb 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to changusee2k
Default update values of changed cells into database using

Hi all,
      I have to design a page which looks like a metrics i.e. in the column part it has all the headers like PLExplanation, Date, BookName1, BookName2, BookName3, BookName4 etc. listed and in the row part it is having the row number. now the intersecting cell will contain the datas. Upon Clicking that cell, user will be presented with a Menuwindow in which he can select the options like Edit or Audit. In the menuwindow when you select edit option, the cell becomes editable and the user can change the value. But, it should not update immediately into the database but it should store that value for that cell temporarily and when user presses finally the Submit button all the values stored into these table cells should be updated. But the catch here is, only those cell values which are changed should be updated, not all the cell values.
   The Problem is we need to store the temporary value for the cells and in one shot when Admin presse the Submit button it should Update all the Updated cellls. Difficulty lies in storing the values for cell, bcoz we need to use something like structure to store the values and in Javascript there is nothing like structure. Also there is problem in keeping track of which cells are updated. bcoz lets say, we have a 50 by 50 metrics then we can not update all the 2500 cells, wherein user might have chnged just a very few Cell values.
   I am searching for the solution from past 4 days and still I haven't come to any conclusion. I hope u guys have understood my Problem and will try to help me in finding the solution for this, incase u or your colleage have worked on similiar kind of problem.
   Thanks a lot for atlest reading my Problem. incase you have an elegant solution for this then please provide it.


Similar Threads
Thread Thread Starter Forum Replies Last Post
cells values with validation in another cell srahuf Excel VBA 1 May 30th, 2008 04:05 AM
Values getting changed while returning/receiving veeruu .NET Web Services 4 January 17th, 2008 08:54 AM
Using Combo Boxes to update cells jasper Excel VBA 1 December 3rd, 2004 11:00 AM
Search and update SQL database if value is changed jakvike VBScript 1 August 4th, 2004 06:32 AM
Update excel cells on change of another program pjhlin VB How-To 2 January 20th, 2004 11:56 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.