The problem seems to be the query has not been performed. Please, verify if the set up for connection is ok. Altamiro. 2010/4/30 sridhar sridharan <sridhar_vpy@xxxxxxxxxxx> > > > try like this > if(@mysql_num_ rows($login) ==0) OR if(@mysql_num_ rows($login) > =='') > > > Sridhar > > > [Non-text portions of this message have been removed] > > > -- Altamiro Teixeira de Souza [Non-text portions of this message have been removed] ------------------------------------ Are you looking for a PHP job? Join the PHP Professionals directory Now! http://www.phpclasses.org/jobs/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/php-objects/join (Yahoo! ID required) <*> To change settings via email: php-objects-digest@xxxxxxxxxxxxxxx php-objects-fullfeatured@xxxxxxxxxxxxxxx <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/