First of all, this script uses mysql, not mysqli, i know its outdated, but right now, i just need to get it working.. (notice, the server this is being run on, is using an outda