why not you do like this

$this->set('time', $this->Tparkevent->read(null, '1'));

--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2011/7/2 Earnest <[email protected]>

> Hi,
>
> I'm running cake on a standard lamp installation. I've a controller to
> make queries to a mssql db. All goes well but a particular query
> involving a standard datatime (in mssql).
>
> The query:
>
> $this->set('time', $this->Tparkevent->query('SELECT PCTimeStamp  FROM
> [table_name] WERE Id = 1'));
>
> Well...on browser I get a blank page :(
>
> Trying a similar query but not on datetime typos, well all goes ok.
>
> Please help me...
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to