Re: [PHP] Removing key and value

2006-05-04 Thread John Nichel
Jonas Rosling wrote: How's the best way to remove a key and it's value from an array? Like in the code bellow where I would like to remove AK and it's value. $salesperson = array( 'AK' => '1000', 'AT' => '1500', 'BT' =>

Re: [PHP] Removing key and value

2006-05-04 Thread Jyry Kuukkanen
On Thu, 4 May 2006, Jonas Rosling wrote: > How's the best way to remove a key and it's value from an array? Like in the > code bellow where I would like to remove AK and it's value. > > $salesperson = array( > 'AK' => '1000', > 'AT' => '1500', >

[PHP] Removing key and value

2006-05-04 Thread Jonas Rosling
How's the best way to remove a key and it's value from an array? Like in the code bellow where I would like to remove AK and it's value. $salesperson = array( 'AK' => '1000', 'AT' => '1500', 'BT' => '2000' )