php - Creating a PDF from a form -
i'm having issues creating .pdf form, validated php..
i insert table row - or form , attempt create .pdf having grabbed primary key row in order identify it.
i have this...
print loadlist pdf file in pdfload_lists file:
$this->printpdf = "c:\\inetpub\\pdf\\0110\\wkhtmltopdf " . " --dpi 100 --background --images --disable-smart-shrinking --print-media-type " . "--page-size a4 --margin-left 0 --margin-right 0 --margin-top 0 --margin-bottom 0 " . "\"link?id=".$this->id."\" " . "link".$this->id.".pdf"; die($this->printpdf); system($this->printpdf);
sql query:
if($_get['id']) { $query = " select* db.table id '".$_get['id']."' limit 1 "; }
this then, should post if in class id being posted , print row.
am doing wrong?. i've had remove company code sorry if makes more difficult answer.
many in advance.
Comments
Post a Comment