|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
single form with submit and preview buttons
Hi All
I have a single form with two buttons, a preview and submit. I would like to give users the option of previewing the contents of the form before it is inserted into my db. I know I have to use "isset" and give the individual buttons their own values - could someone please provide me with an example that I could try and tweak to suit my needs? Cheers |
|
#2
|
|||
|
|||
|
PHP Code:
|
|
#3
|
||||
|
||||
|
I prefer this:
PHP Code:
Not much difference, but a bit cleaner imho. |
|
#4
|
||||
|
||||
|
on my site I actually force the preview instead of making it an option
PHP Code:
__________________
CHornJr "One day I'll know what I am doing" ![]() My Blog Suanhacky Lodge #49 Rebel Squadrons |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > single form with submit and preview buttons |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|