|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Create a Highly Available Database Solution. Advantage Database Server can provide the availability to keep your data safe and ready for your application and users. |
|
#1
|
|||
|
|||
|
printing form
Hello all
i wrote the from's script and when i submit it it goes to the mysql database, but simultanously i need to get the prinatbel version of teh filled form, So if you could help me to solve this problem i would be very thankful. |
|
#2
|
|||
|
|||
|
on the submit page echo the variables that were sent.
so instead of just adding them to the db, echo them also. |
|
#3
|
|||
|
|||
|
Just as Epyon said, you should output all form variables to the screen, maybe using a loop like this and some javascript:
<html> <head> <title> Form Submission Results </title> </head> <body onLoad="window.print()"> <?php foreach($_POST as $key=>$val) echo "<b>$key</b> = $val<br>"; ?> </body> </html> That should do it ![]() |
|
#4
|
|||
|
|||
|
Thank you very much for your help:-)
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > printing form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|