Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Dec 2003
    Posts
    9
    Member #
    4093
    Hey everyone! I have been creating my first dynamic website, and I have been having trouble getting records in a MySQL databse to update. I have followed this tutorial all the way through, and everything works fine up until the point where i go to test it out. What happens is this: I open up the page that lists all of the possible records that i can update, i then click on the edit link, and it takes me to the page with that particular record displayed. I make the changes that i want, and i click on update records, and it then returns me to the original page (just like it is supposed to). Now when i go to see if the record was updated, it wasnt. I have no idea why it is doing this. The only thing that i could think of was that i didnt put all of the original fields in the edit page (i left off the email one, because i wont need to be editing it). If anyone could help me out with this, i would really appreciate it. Thanks in advance!!!

  2.  

  3. #2
    Junior Member
    Join Date
    Dec 2003
    Posts
    9
    Member #
    4093
    Anyone have any ideas? Thanks!

  4. #3
    Junior Member
    Join Date
    Dec 2003
    Posts
    16
    Member #
    4174
    UPDATE table SET column='$_POST[FORM_NAME]' WHERE id='$Id_To_Update'
    If you plan on contacting me, please read this: Legal Terms & Conditions

  5. #4
    Junior Member
    Join Date
    Dec 2003
    Posts
    9
    Member #
    4093
    Sorry, a bit confused by that...do i have to add that line, or change something to that, and if so, where would i find it? Thanks so much!!

  6. #5
    Junior Member
    Join Date
    Dec 2003
    Posts
    9
    Member #
    4093
    Would it be easier if i posted the whole contents of the page? Thanks again for any help...i really appreciate it!
    -Jonathan

  7. #6
    Junior Member
    Join Date
    Dec 2003
    Posts
    9
    Member #
    4093
    bump..

    anyone? Thanks!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:47 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com