View Single Post
papel
Junior Member
Join Date: Jul 2017
Old 08-23-2020 , 15:59   Re: [HELP] How to align right scored
Reply With Quote #4

Quote:
Originally Posted by MAGNAT2645 View Post
Here's example but you will need to get string max length for sFormat (if you use ORDER BY <column> DESC then you can get max length from first qrating result and just save it to integer variable).
Thanks, MAGNAT2645. I'm a beginner in programming. I couldn't do what you asked.

Quote:
Originally Posted by Ilusion9 View Post
PHP Code:
"%02i. %-10s pts - %s" 
Ilusion9, thank you. I changed according to your guidance, but it didn't work. Below is the impression.


Last edited by papel; 08-23-2020 at 16:00.
papel is offline