Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-28-2008, 06:32 AM
Vedran is offline Vedran
Registered User

Join Date: Mar 2008
Posts: 2

Problems with user auth

Hi,
I'm trying to integrate your Simple User Auth script, and I had a lot of bugs and problems, but there is only one that I can't really figure out...
When I try to log in using script, I get following error

Code:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /***/***/usermenu.php on line 28
Apperantly there is a problem with

PHP Code:
iif(mysql_num_rows($query) > 0) {
            
                    
setcookie("loggedin",true,time()+170000);
                    
$_SESSION['loggedin']=true
What is the problem and can u help me fix it?
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User Arcade Chrispy General Chat 1 01-03-2006 10:02 PM
User button -Tigger- Sigs and Graphics 4 12-16-2005 03:10 PM
new user spang Delta Force 9 02-11-2003 04:20 PM


All times are GMT -5. The time now is 04:42 PM.




Powered by vBulletin®