Re: Re: Broken data within an Array
| From: | zareef ahmed | Date: | Wed, 01 Sep 2004 08:04:26 +0000 |
| Subject: | Re: Re: Broken data within an Array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195374@lists.php.net to get a copy of this message | ||
>
> > Following the query I have this:
> >
> > <?php while($result = mysql_fetch_array($query))
> > {
> > $DateAdvertised=$row["DateAdvertised"];
> > $DateAdvertisedBroken = explode("-",
> $DateAdvertised);
> >
This should be like this
<?php while($result = mysql_fetch_array($query))
{
$DateAdvertised=$result["DateAdvertised"];
$DateAdvertisedBroken = explode("-",
$DateAdvertised);
}
Script is fetching the data row in $result array but
using $row for it.
It is not possible.
zareef ahmed
=====
Zareef Ahmed :: A PHP Developer in Delhi(India).
Homepage :: http://www.zasaifi.com
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail