Register for your free account! | Forgot your password?

You last visited: Today at 16:39

  • Please register to post and access all features, it's quick, easy and FREE!

 

Help me :D

Reply
 
Old   #1
 
elite*gold: 293
Join Date: Nov 2010
Posts: 72
Received Thanks: 14
Help me :D

Hei versuche gerade Regipage zu machen aber es kommt überall diese Fhlermeldung !

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\player_online.php on line 5

Notice: Trying to get property of non-object in C:\xampp\htdocs\player_online.php on line 5



KAOS_187 is offline  
Old   #2

 
elite*gold: 216
Join Date: Aug 2009
Posts: 1,768
Received Thanks: 1,961
poste mal den Inhalt deiner player_online.php


Lord Avo​ is offline  
Thanks
2 Users
Old   #3
 
elite*gold: 293
Join Date: Nov 2010
Posts: 72
Received Thanks: 14
<?php
require_once("./inc/config.inc.php");
mysql_select_db("player");
$exe = mysql_query("SELECT COUNT(*) as count FROM player WHERE DATE_SUB(NOW(), INTERVAL 5 MINUTE) < last_play;");
$player_online = mysql_fetch_object($exe)->count;

echo "$player_online Spieler Online"
?>
KAOS_187 is offline  
Reply



« Previous Thread | Next Thread »



All times are GMT +2. The time now is 16:39.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.