<?php
$host="localhost";
$db="project";
$user="root";
$pass="";
$conn=mysql_connect($host,$user,$pass) or die("Mysql is not Connected");
mysql_select_db($db,$conn) or die("DB is not Connected");
mysql_set_charset('utf8',$conn);
?>
Error: Call to undefined function mysql_connect() in E:\Programs\wamp64\www\ayar.php on line 6
it is a error about connecting to data base this project worked in 2014 but it is not working now.
mysql_*lib has been removed from PHP v7. please switch to PDO or mysqli.