news-script/dbconn.php

8 lines
180 B
PHP
Raw Normal View History

2015-07-04 04:58:36 -05:00
<?php
$usernam="tdreams";
$pass="omega";
$db="news";
$conn = mysql_connect("localhost", "$usernam", "$pass") or die("Invalid server or user."); mysql_select_db("$db", $conn);
?>