I have problem in search.

2009-10-14 Thread lokesh sharma
Hi,I have problem in search. // in the model function doSomething() { $this->query('select * from basicdetail'); } // in the controller function searchtry(){ return $this->MyModel->doSomething(); } but in searchtry.ctp I can't get my data, I've checked through logerror and I got that my for loop

How to search from table

2009-10-14 Thread lokesh sharma
Hi, In my cakephp web application I have to search data from single table on the basis of city and name and display result in another page.ctp. Please tell me about any search plugin or find condition or the way to pass query to search data from my table. I've already tried some tutorial but there

problem in Auth->loginRedirect.

2009-10-06 Thread lokesh sharma
Currently I'm facing problem in Auth->loginRedirect. AS per my requirement, I have to pass parameter value also in controller's action. But after searching alot, I didnt find any option except '$this->Auth->loginRedirect = array('controller' => 'schooladmins', 'action' => 'view');' which means in

Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\admitizer\cake\libs\object.php:3)

2009-10-06 Thread lokesh sharma
Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\admitizer\cake\libs\object.php:3) There is no white space after ?> in model , controller and view then why I'm getting this error --~--~-~--~~~---~--~~ You received this m

How to remove query's description in footer

2009-10-03 Thread lokesh sharma
I'm beginner in cake PHP. After configure database, model, controller & view, I got my page running but in footer I'm getting queries related information which I want to remove. Any pointer or help will be very appreciable Thanks in advance Regards, Lokesh --~--~-~--~~~