$states = array("A","B"); print "before pad:"; print_r($states); $states = array_pad($states,4,"C"); $states = array("A","B","C","D"); print "after pad:"; print_r($states);?>