Jump to content

Adding $_POST to FPDF files?


AyRestaurant

Recommended Posts

I want to do this:

 

Edit some text and click submit - for html to $_post the info into a FPDF file...

 

im stuck here:

 

 

<?php

require('fpdf.php');

 

$pdf=new FPDF();

$pdf->AddPage();

$pdf->SetFont('Arial','B',16);

$pdf->Cell(40,10,'Hello World!');

$pdf->AddPage();

$pdf->Cell(60,10,'Powered by FPDF.',0,1,'C');

 

$pdf-> Output();

?>

 

 

how can I add a $_POST attribute? If I do, it gives an error.. plzz helpp

Link to comment
https://forums.phpfreaks.com/topic/223644-adding-_post-to-fpdf-files/
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.