i want to include the model in my controller,it was returning null nd now
it gives internal server error..is sumthng wrong with my code??bt i tried
to use var $uses=array('Listing'); it also gves me error.
On Wednesday, July 18, 2012 3:56:47 PM UTC+2, Ditshwanelo wrote:
>
> $this->loadModel('Listing');
> $listing_query=$this->Listing->query("SELECT * FROM listing WHERE
> listingstatus='Active' ");
--
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