php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "PDF output"

How can one ensure that each output from a MySQL database in PHP is displayed on a new line in a PDF output?

To ensure that each output from a MySQL database in PHP is displayed on a new line in a PDF output, you can use the "\n" newline character when concat...

What are common reasons for the "TCPDF ERROR: Some data has already been output, can't send PDF file" message in PHP?

The "TCPDF ERROR: Some data has already been output, can't send PDF file" message in PHP usually occurs when there is output being sent to the browser...

How can one ensure that no data is output before generating a PDF file in PHP?

To ensure that no data is output before generating a PDF file in PHP, you can use output buffering to capture any output and prevent it from being sen...

What best practices should be followed when combining output to the browser with generating a PDF in PHP?

When combining output to the browser with generating a PDF in PHP, it is important to first send the appropriate headers for the PDF content type befo...

How can PHP be used to generate PDF output from a MySQL database?

To generate PDF output from a MySQL database using PHP, you can use a library like TCPDF or FPDF. First, you need to query the database to retrieve th...

Showing 16 to 20 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1999 2000 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • Privacy
  • FAQ

© 2025 php.org. All rights reserved.