View Full Version : Convert html form to pdf and save to mysql

11-18-2010, 03:37 PM
Good day all:

Is there a mechanism through which I can have a button on my html form which on click calls a script that converts the form (or the html page) into a pdf file and inserts the file into mysql table with a specified name originating from the form itself (ie: within the html form, there is a field called clientid, on insert into db, it is uses this field value to reference the new record.

Not sure if this is doable; however, I appreciate any thoughts on this.

11-18-2010, 03:55 PM
There is no single "mechanism" that does this, but several you can combine to accomplish this with some research. The PDF (http://php.net/manual/en/book.pdf.php) and MySQL (http://php.net/mysql) libraries are a good place to start.