Mega Code Archive
Categories
/
Php
/
Data Type
Array_pad
"; print_r($states); $states = array_pad($states,4,"C"); $states = array("A","B","C","D"); print "
after pad:
"; print_r($states); ?>