Tue Oct 28, 2008 1:29 am
<?php
$states = array("A","B");
print "before pad:<br />";
print_r($states);
$states = array_pad($states,4,"C");
$states = array("A","B","C","D");
print "<br />after pad:<br />";
print_r($states);
?>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.