-mail, so all's
well.
Cheers,
Gavin
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]
Sent: Friday, 1 April 2005 12:06 AM
To: php-db@lists.php.net
Subject: RE: [PHP-DB] Re: Just can't get it to work.. variables
Gavin Amm wrote:
Yeah, I ended up doing that (associative
David Robley wrote:
Gavin Amm wrote:
[snip]
That would indicate that you are actually saying:
$monthVal = $monthName[04];
where the 04 is actually a string; you have no element '04' in your array.
Cast $monthInt to an integer before you use it as an array element.
Alternatively, if you are using
Gavin Amm wrote:
Yeah, I ended up doing that (associative array) then reading your
e-mail.. Oh well, thanks.
I couldn't cast the var as an int. in the database it's setup as a
timestamp(8) (mmdd), not sure why I set it up as such..
Cheers,
Gavin
I guess I didn't fully explain that I
PROTECTED]
Sent: Thursday, March 31, 2005 12:43 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Re: Just can't get it to work.. variables
David Robley wrote:
Gavin Amm wrote:
[snip]
That would indicate that you are actually saying:
$monthVal = $monthName[04];
where the 04 is actually