Thread: Is it possible?

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Posts
    44
    Rep Power
    15
    Is it possible to edit entries in mySQL using a webform made by PHP?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Posts
    79
    Rep Power
    15
    Yes it is...
    Connect to mysql and then have your form code...Have the values from mysql in as the default of each corresponding form object.

    Then once you submit...use:
    UPDATE $table set name="$name", etc="$etc" WHERE id="$id";
    as your query..

    I hope I've helped

    Basil

    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by CS:
    Is it possible to edit entries in mySQL using a webform made by PHP?[/quote]


IMN logo majestic logo threadwatch logo seochat tools logo