Re: Replacement Question.

From: Date: Wed, 20 Apr 2005 15:13:40 +0000
Subject: Re: Replacement Question.
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-213513@lists.php.net to get a copy of this message
Thanks. I took a look, and you were right. It was creating another entry in the array at the end, so I used an if statement checking the value of [1] and [2] in $array_of_fields. Thanks for all the great help!!!! Bob Palma bpalma@ciber.net Duncan Hill wrote:
On Wednesday 20 April 2005 16:01, Bob Palma typed:
Wow! Thanks.. That works great. Just one small hitch though. After it prints all of the data properly, it adds one more '$date' on the end which gets printed as '12/31/69 7:00:pm'. Is there a way to do all groups - 1 ?
No reason for it to do that unless your data is a bit weird. Use print_r() or var_dump to see what each array contains - you might find you have a blank entry being tacked on somehow (which you could detect with an if).


« previous php.general (#213513) next »