i dont no.... can you please say.... how do i check variable empty or not...
On Wed, Feb 9, 2011 at 2:12 PM, Jeremy Burns | Class Outfit < [email protected]> wrote: > Then why not check for empty before you call the function? > > > Jeremy Burns > *Class Outfit* > * > * > [email protected] <[email protected]> > http://www.classoutfit.com > > On 9 Feb 2011, at 08:40, Gopinath T.M wrote: > > > ya its empty... in some case it may have value > On Wed, Feb 9, 2011 at 2:08 PM, Jeremy Burns | Class Outfit < > [email protected]> wrote: > >> What code are you writing that triggers this error? Are you using the >> Model->query method? If so, what variable are you sending in? Is it empty? >> (This is just wild guess work.) >> >> Jeremy Burns >> Class Outfit >> >> [email protected] >> http://www.classoutfit.com >> >> On 9 Feb 2011, at 07:36, Gopinath T.M wrote: >> >> > Warning (512): SQL Error: 1065: Query was empty [CORE/cake/libs/model/ >> > datasources/dbo_source.php, line 549] >> > >> > how do i overcome from this error....... >> > >> > -- >> > 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 >> > > > > -- > Regards > Gopinath T.M > 9944944659 > > -- > 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 > -- Regards Gopinath T.M 9944944659 -- 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
