Search results

  1. J

    How can you make a PHP script connect to MySQL?

    Ok, so, i have a file called Network.php with MySQL stuff in it. How could i have a PHP script connect to MySQL, and alter one of the tables. For example, i want to add !MOD playername to the game, but don't know how to let PHP alter MySQL tables. the table is isModerator and i want it to change...
  2. J

    Can someone correct my PHP 5 script?

    Hi, it says "Fatal error using $this" or something like that. Here is the code: <?php $MYSQL = mysql_connect(MYSQL_HOST, MYSQL_USERNAME, MYSQL_PASSWORD) or die("Unable to connect to MySQL - " . mysql_error()); mysql_select_db(MYSQL_DATABASE) or die("Unable to select Database {$func_database} -...
  3. J

    What is wrong with this PHP script?

    Hi, it says "Fatal error using $this" or something like that. Here is the code: <?php $MYSQL = mysql_connect(MYSQL_HOST, MYSQL_USERNAME, MYSQL_PASSWORD) or die("Unable to connect to MySQL - " . mysql_error()); mysql_select_db(MYSQL_DATABASE)...
  4. J

    Can someone correct my PHP 5 script?

    Hi, it says "Fatal error using $this" or something like that. Here is the code: <?php $MYSQL = mysql_connect(MYSQL_HOST, MYSQL_USERNAME, MYSQL_PASSWORD) or die("Unable to connect to MySQL - " . mysql_error()); mysql_select_db(MYSQL_DATABASE) or die("Unable to select Database {$func_database} -...
  5. J

    What is wrong with this PHP script?

    Hi, it says "Fatal error using $this" or something like that. Here is the code: <?php $MYSQL = mysql_connect(MYSQL_HOST, MYSQL_USERNAME, MYSQL_PASSWORD) or die("Unable to connect to MySQL - " . mysql_error()); mysql_select_db(MYSQL_DATABASE)...
Back
Top