How can I delete a key and it's value from an array? for example:
$test = array(0=>'yes', 2=>'no', 5=>'maybe', 7=>'so'); And I wanted to delete the second key "2" so I could end up with an array like so: $test = array(0=>'yes', 5=>'maybe', 7=>'so'); How would I go about doing that? Thanks! Rick "If I accept you as you are, I will make you worse; however, if I treat you as though you are what you are capable of becoming, I help you become that." - Johann Wolfgang von Goethe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php