The str_repeat() function repeats a string specified number of times.
Syntax
str_repeat(string,repeat)
Example
output
indiaindiaindiaindia
Syntax
str_repeat(string,repeat)
Example
<?php echo str_repeat("india",4); ?> |
indiaindiaindiaindia
0 comments:
Post a Comment