trykohana

Monday, March 21, 2016

Kohana : PHP to PDF

public function action_PdfDownload()
{
$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();

}
Posted by Unknown at 7:31 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Unknown
View my complete profile

Blog Archive

  • ▼  2016 (29)
    • ►  April (4)
    • ▼  March (23)
      • MySQL Trigger
      • error 1
      • Form Validation
      • Miscellaneous
      • Echo in ternary operator
      • Redirect
      • Validation - min_length
      • Kohana Join Query
      • Kohana Query
      • Kohana config
      • Connecting to database, run a query and view the r...
      • Creating a Kohana Module
      • Run MYSQL and import Large Data.
      • Kohana : PHP to PDF
      • Kohana - Change Header
      • PHPMailer
      • Add to trusted hosts
      • URL troubleshoot
      • Complete Site URL
      • Validation Factory - Easy validation
      • Eliminate the extra index.php from Kohana url
      • Create an Excel file from PHP
      • Printing base64 encoded image
    • ►  February (1)
    • ►  January (1)
Awesome Inc. theme. Powered by Blogger.