I'm programming something and when I include a file with variables for the MySQL info it echos all of the info to the world...
<?php
//Connect
include("../include/variables.php");
mysql_connect("$h","$u","$p");
mysql_select_db("$d");
//Date created
$datecr = date("n/j/Y h:i:s A");
//Insert all of the entered info on install.php
mysql_query("insert into BasicInfo(Name,Slogan,Datecr) values('".$name."','".$slogan."','".$datecr."')");
?>
I've never had this problem and I'm so lost, any help is appreciated.