Cronwerks MCCode/MCCodes Forums

Please login or register.

Login with username, password and session length


News:

Have you purchased a mod and lost your copy? Just file a support ticket through your "My Mods" page.


Pages: 1 [2]

AuthorTopic: mysql unexpected ')' in mysql.php error  (Read 633 times)

Maketextgames.com

  • Active Member
  • **
  • Reputation Power: 112
  • Maketextgames.com is working their way up.Maketextgames.com is working their way up.Maketextgames.com is working their way up.
  • Offline Offline
  • Posts: 204
    • MSN Messenger - immortalthug4ever@hotmail.com
    • View Profile
    • WWW
Re: mysql unexpected ')' in mysql.php error
« Reply #15 on: December 13, 2009, 01:02:06 PM »
That's funny, I thought McCode 1 and 2 was coded in PHP also? ;-)

Horizons to..i believe ;p

Danny696

  • Excellent Member
  • ***
  • Reputation Power: 276
  • Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.
  • Offline Offline
  • Posts: 457
    • View Profile
Re: mysql unexpected ')' in mysql.php error
« Reply #16 on: December 13, 2009, 01:19:42 PM »
Yes, but V1(not sure) and V2 has a db class.
Logged
My Game: GraveYard; Madness || Projects; N/A -  Available for work. Please IM/PM me.

Maketextgames.com

  • Active Member
  • **
  • Reputation Power: 112
  • Maketextgames.com is working their way up.Maketextgames.com is working their way up.Maketextgames.com is working their way up.
  • Offline Offline
  • Posts: 204
    • MSN Messenger - immortalthug4ever@hotmail.com
    • View Profile
    • WWW
Re: mysql unexpected ')' in mysql.php error
« Reply #17 on: December 13, 2009, 04:12:47 PM »
Most game engines have a variation of that ;-)

mentaljason

  • Basic Member
  • *
  • Reputation Power: 7
  • mentaljason has no influence.
  • Offline Offline
  • Posts: 17
    • View Profile
Re: mysql unexpected ')' in mysql.php error
« Reply #18 on: January 14, 2010, 08:57:37 AM »
hmm i seen local host and root but is the other part the db name or the db password?
Logged

Danny696

  • Excellent Member
  • ***
  • Reputation Power: 276
  • Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.
  • Offline Offline
  • Posts: 457
    • View Profile
Re: mysql unexpected ')' in mysql.php error
« Reply #19 on: January 14, 2010, 12:36:44 PM »
Mental, have you just come back, you seem to have made alot of posts.
Try this:  $c=mysql_connect('localhost''mysql_user''mysql_password');
if (!
$c) {
    die(
'Could not connect: ' mysql_error());
}

But change the values inside the connect.
Logged
My Game: GraveYard; Madness || Projects; N/A -  Available for work. Please IM/PM me.
Pages: 1 [2]
« previous next »