Page 1 of 1

String Formatting Question

Posted: Thu Apr 13, 2006 4:10 pm
by skm376
I am storing a bunch of names in a MySQL table and I am outputting them in the body of an email I am sending using mail(). I was wondering if there is any way (function?)to buffer the ends of the shorter strings so that they are the same length as the longer strings. This would make my output much neater and better looking. Thanks.

Posted: Thu Apr 13, 2006 4:16 pm
by feyd
str_pad()
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:1. Select the correct board for your query. Take some time to read the guidelines in the sticky topic.