Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; MySQL has a deprecated constructor in /home/myearth/ on line 2

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/myearth/ Stack trace: #0 /home/myearth/ : eval()'d code(1): MySQL->MySQL() #1 /home/myearth/ eval() #2 /home/myearth/ include('/home/myearth/m...') #3 {main} thrown in /home/myearth/ on line 2