I Have my text-based mmorpg set up just need function.php fixed

htmlgary
Unregistered
 
Post: #1
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!
Quote this message in a reply
Moderator
Posts: 508
Joined: 2002.09
Post: #2
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

"When you dream, there are no rules..."
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Help to make an online text-based rpg game just_gabe 0 4,830 Dec 6, 2009 04:13 PM
Last Post: just_gabe
  How to Design a Text Based MMORPG? SpireGames 3 5,602 Mar 23, 2009 01:40 AM
Last Post: Ingemar
  Text based graphics game mmorpg. MetalMouth 6 5,636 Mar 4, 2008 09:55 AM
Last Post: drslinky1500
  Creating a text mmorpg, engines? xVenomx 3 5,619 Jul 26, 2007 08:13 PM
Last Post: AndyKorth
  Need Help Making Text Based MMORPG Burak 6 7,531 Jan 24, 2007 06:14 PM
Last Post: azoundria