the thing is i still cant any errors from my statsconnect.php
which is
<?php
$link = mysql_connect($__SERVER__, 'root', '8143675');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully<br>';
$db_selected = mysql_select_db('futboltakip_com_stats', $link);
mysql_query("SET NAMES 'latin1'"
;
mysql_query("SET CHARACTER SET latin1"
;
mysql_query("SET COLLATION_CONNECTION = 'latin1_turkish_ci'"
;
if (!$db_selected) {
die ('Can\'t use : ' . mysql_error());
}
?>
when i run this file , it says "connected successfully "
but when i include this file to another one , and run the other file , it doesnt say anything
and load the html part , but doesnt take any information from my database
and my include line is
include('statsconnect.php');
both files are in the same folder
do you have any idea ?