Updating Records in database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xelA
    New Member
    • Jan 2008
    • 6

    #1

    Updating Records in database

    Here is my problem: I have created a table with five fields and populated it. Then I included another field . How can I update the the data in one field of each record?
  • stepterr
    New Member
    • Nov 2007
    • 157

    #2
    Originally posted by xelA
    Here is my problem: I have created a table with five fields and populated it. Then I included another field . How can I update the the data in one field of each record?

    How are you creating the table on your page and naming each of the fields? You'll need to do a foreach loop or just a regular for loop to go through each row and then put your update statement inside of that. But to give you a more in depth explaination it would be helpful if you gave a little more detail or posted some of the code that you have already completed.

    Comment

    Working...