hello i have a table called “buttonclicked” it update and insert a value of 1 when a submitbutton is click, the thing is, it insert into the table which is good, but when updating same auction_id it drop a row instead of just updating a column
Oh sorry, I took that to mean that it was dropping (deleting) a row (because when you want to delete a table, for example, you use the syntax DROP TABLE), and you showed the table had three rows, then it had two rows, and I presumed that you showed them in order.
Same applies in reverse though, unless you’re calling the INSERT query by mistake, I can’t see how the UPDATE query would insert an additional row.
lol na nothing to do with dropping.
the insert is to first fill up the table and the update is to update a column linked to it button, the updating works but when it update it create another row that part is what i dont get