Warning: mysqli_error() expects exactly 1 parameter, 0 given in D:\INETPUB\VHOSTS\royalsun.biz\httpdocs\admin\connectdb.php on line 5

Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in D:\INETPUB\VHOSTS\royalsun.biz\httpdocs\admin\connectdb.php on line 8

Fatal error: Uncaught Error: Call to undefined function mysql_query() in D:\INETPUB\VHOSTS\royalsun.biz\httpdocs\ad_details.php:13 Stack trace: #0 {main} thrown in D:\INETPUB\VHOSTS\royalsun.biz\httpdocs\ad_details.php on line 13