Hey guys,
I am trying to make my current mysql class a lot better. Rather than having consecutive insert or update queries. Is there a way to develop a php class where the input fields can be compared to the mysql database column names and inserted into the database. By the same logic it can be updated as well.
I know there has to be a way I just get confused on how I can compare the column names and how would I get form input names.