Jump to content

[SOLVED] Newline not working... and Heredoc question


savagenoob

Recommended Posts

OK, I amaze myself of how I cant accomplish very simple tasks sometimes, but I am actually trying to create a doc using ezpdf but cannot get any newlines to work. First, I tried heredoc format, but it did not recognize \n and prints to one line. Then just a normal string to variable like

$text4 = "1. The parties to this agreement are {$name} (CLIENT) AND {$text1}, California \n";

[\PHP]

and still PHP will not go to the next line when printed...I even created a blank page and just did this basic line and printed, still one line... Im frusterated... any suggestions?

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.