Lining up items on page
| From: | Ethan Rosenberg | Date: | Wed, 30 Jul 2014 03:36:34 +0000 |
| Subject: | Lining up items on page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-323692@lists.php.net to get a copy of this message | ||
Dear list -
I wish to align my output.
An example-
fprintf($fptr1, "%s\t %s\t\n", $row1[0],$row1[1]);
In each row of output if the strings are wider than the tab setting, the text will indent.
Is there anyway I can formulate the fprinf so that each string will print at a specific place?
TIA
Ethan