zallz
08-19-2008, 03:05 PM
Hi
I'm trying to save filled forms in htm.
I have a main.php that calls page1.php, page2.php and page3.php .
Then, I want to show the entire pages in my main.php.
The tricky part is that the information has to still be available after main.php has been saved as an htm AND no other file has been saved (stand alone).
I tryed execCommand(SelectAll | Copy | Paste) which works fine in the php but doesn't show up in the htm file.
Is it because the htm is trying to reexecute the javascript code (allthought it can't) as if it hadn't been executed before ?
Ideas in any language would be welcome (although this is a php forum).
Thank you.
I'm trying to save filled forms in htm.
I have a main.php that calls page1.php, page2.php and page3.php .
Then, I want to show the entire pages in my main.php.
The tricky part is that the information has to still be available after main.php has been saved as an htm AND no other file has been saved (stand alone).
I tryed execCommand(SelectAll | Copy | Paste) which works fine in the php but doesn't show up in the htm file.
Is it because the htm is trying to reexecute the javascript code (allthought it can't) as if it hadn't been executed before ?
Ideas in any language would be welcome (although this is a php forum).
Thank you.