Use mysqli extension since mysql extension is deprecated in php 5.5