RE: [PHP-DB] Re: Just can't get it to work.. variables
| From: | Gavin Amm | Date: | Fri, 08 Apr 2005 00:29:37 +0000 |
| Subject: | RE: [PHP-DB] Re: Just can't get it to work.. variables | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-39153@lists.php.net to get a copy of this message | ||
Yeah, you did explain it clearly, I just couldn't get the casting to
work in PHP..
I found 2 or 3 ways of doing it in PHP, but I just couldn't get any of
them to work..
I even looked at casting in MySQL, though I couldn't find an int cast.
At any rate, it's working fine based on my previous e-mail, so all's
well.
Cheers,
Gavin
-----Original Message-----
From: David Robley [mailto:robleyd@ozemail.com.au]
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 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) (yyyymmdd), not sure why I set it up as such..
>
> Cheers,
> Gavin
I guess I didn't fully explain that I meant cast as an int in php :-)
David
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php