Hello All!
I wrote the form in php and the datas go to the mysql database. But i need to have the same filled form printed on paper version. So how can i manage to get filled form not only in mysql database but in paper also?
Thank you in advance
when you process the data into mysql you should also use tha data to recreate the form at that time so that it can be printed.
form stuff:
<?php
// all these will have been submitted to your form
$name=me;
$surname=mine;
$age=99;
// run the database query
mysql_query("update table set name,surname,age values ('$name','$surname','$age') where whatever",$db);
// echo the database input to the screen fopr printing
printf("<form name=test>Name:<input type=text value=$name><br>Surname:<input type=text value=$surname><br>Age:<input type=text value=$age></form>"
?> ***************************************
Party on, dudes!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.