Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/content/62/8691062/html/directory/include/dbconnection.my.mysql.php on line 9

php error happened

Technical information
Error type2
Error descriptionCannot modify header information - headers already sent by (output started at /home/content/62/8691062/html/directory/include/dbconnection.my.mysql.php:9)
URLwww.apmaa.com/directory/Listed_By_view.php?editid1=325
Error file/home/content/62/8691062/html/directory/include/commonfunctions.php
Error line3561
SQL query

More info