iDevGames Forums
I Have my text-based mmorpg set up just need function.php fixed - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Design (/forum-5.html)
+--- Thread: I Have my text-based mmorpg set up just need function.php fixed (/thread-3186.html)



I Have my text-based mmorpg set up just need function.php fixed - htmlgary - Jul 11, 2007 11:58 PM

Hey i have my text-based mmorpg up at http://www.xm.tiamat-studio.net/1 but when i register and login it's saying Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/xmtiamat/public_html/1/includes/functions.php on line 340

Could some tell me how to fix my includes/functions.php or please! it would be great help, thanks!


I Have my text-based mmorpg set up just need function.php fixed - Taxxodium - Jul 12, 2007 01:07 AM

Read the docs on mysql_fetch_object at http://www.php.net

Usually it means you haven't done mysql_query first and passed the result of that to the mysql_fetch_object function