hello,
           In my program i added one item in add.ctp with return_date
DATE field
as null. This field will edit at the time of item return.

After issuing an item i want to display the remaining items in
list.The issued item should not display.(file: available_item.ctp). In
basic query, Select all from items where item.return_date=null. How I
can implement this condition  in cakephp ?

plz help me.

On Nov 11, 4:41 pm, Marcelo Andrade <[email protected]> wrote:
> On Tue, Nov 10, 2009 at 8:09 AM, jiru <[email protected]> wrote:
>
> > Please give me the code for to check  date field isnullornot. ?
>
> http://book.cakephp.org/view/74/Complex-Find-Conditions
>
> '''
> Cake can also check fornullfields. In this example, the query will
> return records where the post title isnotnull:
>
> array ("not" => array (
>         "Post.title" =>null
>     )
> )
> '''
>
> Best regards.
>
> --
> MARCELO DE F. ANDRADE
> Belem, PA, Amazonia, Brazil
> Linux User #221105

--

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=.


Reply via email to