hello.. is there any other way to print 40 dots in php?
i have this in my mind but i think this is wrong.. maybe there was a way like this.
<?php print(".",40); ?>
is it possible to do in that way? without the use of looping..?
hello.. is there any other way to print 40 dots in php?
i have this in my mind but i think this is wrong.. maybe there was a way like this.
<?php print(".",40); ?>
is it possible to do in that way? without the use of looping..?
Yes ! use the str_repeat function:
echo str_repeat('.', 40);