[FX.php List] [OFF] Duplicate Record in different Table

Gjermund Gusland Thorsen ggt667 at gmail.com
Tue Jan 6 16:25:09 MST 2009


> I need to preserve a copy of record data before a web user edits the
> record...in case the data needs to be restored.

Preserve how? Why not use FMDup() is my primary thought...

Or don't you use my suggested naming? Like this:

just my 2c worth...

ggt

<?php
... obvious stuff up here start the session etc
$_SESSION[$pKey]['preserve'] = $_POST['s'];
?>
<form name="" id="" action="" method="post"">
<input name="s[field1]">
<input name="s[field2]">
<input name="s[field3]">
<input name="s[field4]">
<input type="submit" name="a" value="Nike!">
<form>


More information about the FX.php_List mailing list