String Formatting Question
Moderator: General Moderators
String Formatting Question
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.
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
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.