08-21-2017, 01:22 PM
Ok. I sent you a response. I accidentally left the $db->error line commented out, but you can comment it back in.
Also, if you want, instead of disabling the submit button, you can add this pretty much anywhere on the page after the init file and it will redirect them to login if they haven't.
Also, if you want, instead of disabling the submit button, you can add this pretty much anywhere on the page after the init file and it will redirect them to login if they haven't.
Quote:<?php if(!$user->isLoggedIn()){ Redirect::to('users/login.php'); } ?>