WHERE `cname`='$coursename'"), 0)==1) ? true: false;
You're using mysql_result() instead of mysqli_result(), mysqli_result() doesn't exist as a function in general and mysql_result() has been removed in 7.0.0
Обсуждают сегодня