Sep 17th, 2010, 1:52 PM
i would like to have a file editform.php
for example for formtools form1 with fields user, name and birthday
when I enter editform.php?user=xx
it should load the current data for user xx from the database and use them as default entries for the form:
user: [xx]
name: [sample user]
birthday: [01.01.1991]
[submit]
when submitting the form it should write the changes to the database row of this user and stay on the editform with the new entries (no confirmation or done screen).
can you give me instruction how to realize that?
for example for formtools form1 with fields user, name and birthday
when I enter editform.php?user=xx
it should load the current data for user xx from the database and use them as default entries for the form:
user: [xx]
name: [sample user]
birthday: [01.01.1991]
[submit]
when submitting the form it should write the changes to the database row of this user and stay on the editform with the new entries (no confirmation or done screen).
can you give me instruction how to realize that?