> > > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php