I have the following query:
IF (some statement) THEN INSERT ... ELSE UPDATE ...
My question is how can I check which action took place? Let's say I want to print 1 if it was an INSERT or 2 if UPDATE using php.
Thank you,
Aucun commentaire:
Enregistrer un commentaire