[PHP] grief with printf(), padding and alignment of text

2003-02-11 Thread Robert E. Harvey, M.D.
I'm running PHP 4.2.2 and I'm having trouble with the printf() function. I want to be able to print data in space padded fields with the alpha strings left justified and the numeric strings right justified. For some reason I can't get printf() to pad with spaces. It pads with -s and right

Re: [PHP] grief with printf(), padding and alignment of text

2003-02-11 Thread Matt
- Original Message - From: Robert E. Harvey, M.D. [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 6:21 PM Subject: [PHP] grief with printf(), padding and alignment of text I'm running PHP 4.2.2 and I'm having trouble with the printf() function. I want to