Re: [PHP] Print a char from a variable number

2002-06-25 Thread guslist
Yea !! It worked... I was looking for some thing like that !! Thank you very much ! Gus - Original Message - From: "John Holmes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, June 25, 2002 1:03 PM Subject: RE: [PHP] Print a

RE: [PHP] Print a char from a variable number

2002-06-25 Thread John Holmes
Why not use str_repeat()? www.php.net/str_repeat ---John Holmes... > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 25, 2002 11:45 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Print a char from a variable number > > He

[PHP] Print a char from a variable number

2002-06-25 Thread guslist
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 t