THIS IS PHP MYSQLI INSERT, UPDATE, SELECT METHOD WHICH AVOIDS SQL INJECTION.