make sure data save alright, $mysqli apply to all