Guest imended Posted June 22, 2006 Share Posted June 22, 2006 Hi, I use print order form as payment. I have a mod that sends an email to customer when he places an order. I'm trying to modify that email so it looks better, but I'm having a problem: Product Qty Code Price C018 1 C018 €15.00 Other example: Product Qty Code Price C018********** 1 C018 €15.00 In the second example, I used php strpad function to fill the right side of the product field with (*), but if the field is bigger it doesn't work because the other fields goes to another position. How can I do that, so I can get a fixed lenght in the Product field, so the others fields remain on the same position? Thank you. NOTE: in this post there is no spaces between fields, but in my code there is. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.