Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to delete element from associateive array

Status
Not open for further replies.

sfc

Programmer
Apr 18, 2002
4
US
Hi,

Does anyone know how to delete an element from associative array? For example:

$test = Array("test1" => "data1", "test2" => "data2","test3" => "data3");

How to delete test2?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top