Okay, so I just ended up resorting to PDO for this specific page. Thanks for the help, everyone.
I'll just leave this here:
try {
$db = new PDO('mysql:host=localhost;dbname=dbnamehere;charset=utf8', 'usernamehere', 'pwhere')...
config/databasecfg.php connects to the database with $db as the variable. Uhh. Just so you know, that's not the actual name. I changed it to something similar (but it's correct in the actual code) just in case someone (aka a person I'm hiding from) figures out my link.
On my site, http://rblxdev.pw, login won't work.
A few months ago (I think before the free server change), it worked fine. Now it's broken.
I'm using http://www.php-login.net/ minimal.
Can someone help?