Realized that I was running PHP 7.2 and the mysql_connect function was removed ; downgraded to 5.5 fixed the issue. Thread can be closed. Thanks guys :)
To anyone who is interested,
I am in need of a web developer for my IMGDIR.IN project. I am looking for someone who has a unique touch to there work and who can be dedicated to the project. The developer will receive perks working on this project such as:
[x] Receive credit for there work...