php - database not read from mysql database -
this question has answer here: how useful error messages in php? 27 answers php header location-redirect doesn't work - why? [duplicate] 4 answers my login page doesnt redirect me next webpage if inputted correct data on username , password. when check config.inc , made config.php it doesnt displays on webpage. any suggestions config.inc $con=mysqli_connect("localhost","root@localhost","","test"); // check connection if (mysqli_connect_errno()) { echo "failed connect mysql: " . mysqli_connect_error(); } loginproc page <?php // inialize session session_start(); // include database connection settings include('config.inc'); // retrieve username , password database according user's input $...