Hello List, I want to do something that I think it is very simple but I canīt get working ! Iīve tryed fprint and works well but not with a random number. printf("%'-6s", ""); Here I print the '-' char 6 times.
In some where of my code a get a result from a math calculation and I want to print this result as chars. Example: 10 - 7 = 3 I want to print the char '-' 3 times. 18 - 7 = 11 I want to print the char '-' 11 times. Can anyone help me ? Thankīs in advance, Gus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php