|
What exactly you cannot perform in both cases?
Adding current date and/or time to the mysql table does not depend on application language at all since it is done with native mysql function now(): insert into table set time_field = now().
To edit mysql record you must first select that record and output it into the form using loops and echo, then in your script you should create a query looking like following: update table_name set field1 = 'value1', field2 = 'value2', ..., fieldN = 'valueN' where id = id_of_record
Obviously that you need to pass id of record and new values within your form.
|