name it dbconnect.php or whatever u want
PHP Code:
<?php
/*
* @author Bjorn VH
* @package Abysses Admin Panel
* @copyright Copyright (c) Bjorn VH
* @license MIT License
*/
error_reporting(E_ALL ^ E_NOTICE);
// MSSQL Database Info
$msconnect = mssql_connect("127.0.0.1","sa","yourpw") or die ('Cannot connect to the DB. Check your settings');
$kaldb = 'kal_db';
$kalauth = 'kal_auth';
//server info
$IP = array(
"Servername:" => "127.0.0.1:30001",
);
?>
name this whaever u want
PHP Code:
include("dbconnect.php");
SELECT * FROM Item WHERE Index = (demon blood index for example)