[PHP] Newbie: element index array

2002-11-24 Thread Michael Wai
If I declared an element indexed array and put some values into it:

$a['element1'] = array('btime' => '19D', 'etime' => '22D', 'dayname' => 4);
$a['element2'] = array('btime' => '12D', 'etime' => '20D', 'dayname' => 2);
$a['element3'] = array('btime' => '15D', 'etime' => '17D', 'dayname' => 3);

I would like to ask that how can I completely delete the $a['element2'] in
the array? That's mean I will get 'false' in 'isset($a['element2']) after
the delete process is taken place.

Thanks for your help.

Regards,
Michael Wai



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Newbie: nested include and object in session

2002-11-20 Thread Michael Wai
Hi everyone, I'm a newbie on PHP and MySQL. I've two questions that want to
get some help.

1. How to solve the problem of nested include? That's mean A include B and B
include C.
2. Can I save the object in session?

Thanks for your great help!!

Regards,
Michael



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php