PHP and MySQLi - Adding edit functionality