str_pad()
It pads a string to a certain length with another string
Example
<?php
echo str_pad(“phpcode”,20,”z”);
?>
Output
phpcodezzzzzzzzzzzzz
Beginner's Guide....
It pads a string to a certain length with another string
Example
<?php
echo str_pad(“phpcode”,20,”z”);
?>
Output
phpcodezzzzzzzzzzzzz