Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 533c2cb53d
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (14 sloc) 0.391 kb
<?php
function runQuery($query) {
$mySqlServer = 'localhost';
$mySqlUser = 'root';
$mySqlPass = '';
$mySqlDB = 'evecrawler';
$connect = mysql_connect($mySqlServer, $mySqlUser, $mySqlPass);
if (!$connect) {
die("<div class=\"error\">" . mysql_error() . "</div>");
}
mysql_select_db($mySqlDB, $connect);
$result = mysql_query($query, $connect);
return $result;
}
Jump to Line
Something went wrong with that request. Please try again.