Hey all,
So I am working on a code and I am trying to update multiple rows of a table with a form. I have it working other than if a new value is added with the form. For instance, if it is a names table and someone is trying to update the row for Fred but Fred doesn’t exist on the table, I want to add a row for Fred. I thought I could use a Select * From Names Where name = ‘Fred’, execute it with mysql_query and if it doesn’t return anything then add the row. If anyone has any ideas I would greatly appreciate it.
Thanks!