PHP Make Use Of Str_Pad()’S Optional Parameters – String Function

<?
$header = "Table of Contents";
print str_pad ($header, 5, "=-", STR_PAD_BOTH);
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.