|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Creating preview before add data to db
I'm new to php. I've make a form to insert record to mysql db. How to make a preview (like preview before submitting this post) before actually add it to database?
Thanks |
|
#2
|
|||
|
|||
|
$_POST[] the values to another page.
__________________
-- Jason |
|
#4
|
|||
|
|||
|
basically what Taelo said, echo the $_POST[] data to the preview page along with all the formatting that needs to be done
__________________
![]() ![]() "Only Linux users see the end of crashes." - Pl4t0 |
|
#5
|
|||
|
|||
|
But how to separate the action of two button in one form. One is 'Insert' button (that add record to db) and the other is 'Preview' button?
|
|
#6
|
|||
|
|||
|
PHP Code:
hope that helps ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Creating preview before add data to db |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|