Switched to mysqli

Seemed like the better plan to not use the deprecated stuff
Began loading posts