if (isset($_POST['submit'])) {
$fruit = $_REQUEST["fruit"];
echo("Fruits chosen: " . count($fruit));
for ($i=0; $i<count($fruit); $i++) {
echo( ($i+1) . ") " . $fruit[$i]);
}
}
Monday, May 26, 2008
Wednesday, May 21, 2008
PDF Generation Using PHP
PDF Generation Using PHP
$pdf=new FPDF();
$pdf->AddFont('Calligrapher','','calligra.php');
$pdf->AddPage();
$pdf->SetFont('Calligrapher','',35);
$pdf->Cell(0,10,'Enjoy new fonts with FPDF!');
$pdf->Output();
More Examples:
PDF Generation using line breaks
PDF Generation using header footer
$pdf=new FPDF();
$pdf->AddFont('Calligrapher','','calligra.php');
$pdf->AddPage();
$pdf->SetFont('Calligrapher','',35);
$pdf->Cell(0,10,'Enjoy new fonts with FPDF!');
$pdf->Output();
More Examples:
PDF Generation using line breaks
PDF Generation using header footer
Subscribe to:
Posts (Atom)