Search the Community
Showing results for tags 'core php'.
Found 1 result
i am saving db.php and header.php files in same folder i am including db.php file in header.php like <?php include_once("db.php");?> not including the file and givind error message like no database is selected i checked db in phpmyadmin it is perfect, in db.php i wrote connection like $con = mysql_connect("localhost","root",""); mysql_select_db("fun",$con); not connecting, but this same code past in index file it working... what is the mistake.? can any one help me please....