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.


This forum is now closed and has moved to a new location! Click here to find out why.
Pages: 1 [2]

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

JoshuaDams

  • Active Member
  • **
  • Reputation Power: 129
  • JoshuaDams is working their way up.JoshuaDams is working their way up.JoshuaDams is working their way up.
  • Offline Offline
  • Posts: 240
    • 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

  • Senior Member
  • ****
  • Reputation Power: 317
  • Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.
  • Offline Offline
  • Posts: 540
    • View Profile
    • WWW
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
Project Choosen - 10%
Daniel - Hanson . Com

JoshuaDams

  • Active Member
  • **
  • Reputation Power: 129
  • JoshuaDams is working their way up.JoshuaDams is working their way up.JoshuaDams is working their way up.
  • Offline Offline
  • Posts: 240
    • 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: 13
  • mentaljason has no influence.
  • Offline Offline
  • Posts: 28
  • MentalJason HURRAH
    • View Profile
    • WWW
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
Like Mccodes? Like things to be free? try My mods forum where all of the mods are free!

Danny696

  • Senior Member
  • ****
  • Reputation Power: 317
  • Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.Danny696 is a force to reckon with.
  • Offline Offline
  • Posts: 540
    • View Profile
    • WWW
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
Project Choosen - 10%
Daniel - Hanson . Com
Pages: 1 [2]
« previous next »
 


This forum is now closed and has moved to a new location! Click here to find out why.