Jump to content

jakKersS

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

jakKersS's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. My index.php doesnt show anything at all but the installer.php shows: Parse error: syntax error, unexpected '.', expecting ')' in /home/www/mysql.php on line 10 Mysql.php code: [sub]<?php class mysql { var $link; var $querycount=0; var $querylist=''; function connect($evolution.awardspace.com:38371, $crazygamez_wtf, $I PUT MY PASS HERE, $crazygamez_wtf) { $this->link = mysql_connect($host, $username, $password) or die("Could not connect."); mysql_select_db($db) or die("Could not find database."); } function query($query) { if (!($result = mysql_query($query))) { ob_end_clean(); die("SQL Error: ".mysql_error()."<br />Query: $query<br />"); } $this->querycount++; $this->querylist.="<br />$query"; return $result; } function result($result, $row, $name) { return mysql_result($result, $row, $name); } function numrows($result) { $numrows = mysql_num_rows($result); return $numrows; } function affectedrows() { return mysql_affected_rows($this->link); } } ?> [/sub]
  2. Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/crazygamez.awardspace.com/mysql.php on line 15 Could not connect. Any help?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.