On Wednesday 01 September 2004 02:45, Harlequin wrote: > Having a problem echoing a broken date. Here's where I'm at: > > $DateAdvertisedBroken = explode("-", $DateAdvertised); > > later, in a table, I use: > > $result[DateAdvertised] > > How can I change this so I can call the broken date...? > > I've tried datebroken [2] etc but no joy.
I've no idea what you're trying to ask here. If you're asking how to access the individual elements in the array $DateAdvertisedBroken, then 1) Know what you're doing by print_r($DateAdvertisedBroken) 2) Then $DateAdvertisedBroken[n], when 'n' is the element you want. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* /* * Should be panic but... (Why are BSD people panic obsessed ??) */ 2.0.38 /usr/src/linux/net/ipv4/ip_fw.c */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php