Completing mysql to mysqli post