while($result = mysql_fetch_array($query))
{
$DateAdvertised=$row[DateAdvertised];
does that help any o would you like all the code...?
--
-
Michael Mason
Arras People
www.arraspeople.co.uk
-
Comex [EMAIL PROTECTED] wrote
Following the query I have this:
?php while($result = mysql_fetch_array($query))
{
$DateAdvertised=$row[DateAdvertised];
$DateAdvertisedBroken = explode(-, $DateAdvertised);
Then a little while later this:
On Wed, 1 Sep 2004 16:51, Harlequin wrote:
Following the query I have this:
?php while($result = mysql_fetch_array($query))
{
$DateAdvertised=$row[DateAdvertised];
$DateAdvertisedBroken = explode(-, $DateAdvertised);
Then a little while later this:
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))
{
That still makes no sense..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Harlequin wrote:
Hi all.
Having a problem echoing a broken date. Here's where I'm at:
$DateAdvertisedBroken = explode(-, $DateAdvertised);
So this contains an array of (year, month, day) or something similar? You
should be able to grab the values here if that's the case.
later, in a table, I
Jason
Thanks for the response.
I have this:
$DateAdvertised=$row[DateAdvertised];
$DateAdvertisedBroken = explode(-, $DateAdvertised);
So I can easily use this in my table:
$result[DateAdvertised]
But not this for some reason:
$DateAdvertisedBroken[n]
Any ideas...?
--
What is $result?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
8 matches
Mail list logo