How to delete key in an Array?
Posted: Thu May 23, 2002 10:22 am
How can I delete a key in an Array?
Please help me with this.
Thanks
Peter
Please help me with this.
Thanks
Peter
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<?php
$a = array('a'=>A, b=>'B', c=>'C');
unset($aї'b']);
while(list($key, $value)=each($a))
print($key."=".$value."<br>");
?>