Upgrading from PHP 5.0 to PHP 7.0 means you need to make some changes to your code:
OLD $cor_rs3=mysql_query("INSERT INTO...
NEW $cor_rs3=mysqli_query($dbh,"INSERT INTO...
OLD $dbh = mysql_connect($host_name, $user_name, $pass_word)...
NEW $dbh = mysqli_connect($host_name, $user_name, $pass_word, $data_name)...
OLD mysql_fetch_array($cor_rs2,mysql_ASSOC))
NEW mysqli_fetch_array($cor_rs2,MYSQLI_ASSOC))
Add comment
Comments