Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2009
    Posts
    3

    Unanswered: Fields go blank on update form

    Hi, I've got a problem with a PHP form, When I log onto my site and view the form the fields all contain the correct data, however when I edit that data and click an update button all the fields go blank and it wipes the values off the MySQL database too. What could be causing this ?

    Cheers
    J#xx
    (Scott Perry)

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    What code does the update button run..?
    George
    Home | Blog

  3. #3
    Join Date
    Mar 2007
    Location
    636f6d7075746572
    Posts
    770
    Indeed, without you posting any code it's hard to determine the cause of your problem.

    Perhaps the field names are wrong, or you're doing an update inserting blank values, or something else... code would help...

  4. #4
    Join Date
    Feb 2009
    Posts
    3

    The Original Code for Invoice page

    Hi, this link is to the original invoice code, I'm hoping to be able to add some code to call a variable from the Database (mysql). My field data is stored under, "customer_rsphere" and its a varchar. How could I call this and get it to display in the following code.

    http://www.mtshops.co.uk/zen/invoice.txt

    Any help would be grartefully appreciated.

    Cheers
    J#xx
    (Scott Perry)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •