I have MySQL table that doesn't have AUTO_INCREMENT field. In PHP I run this simple query:
mysql_query("INSERT INTO table ... ON DUPLICATE KEY UPDATE ....");
I need to be able to detect if a new row was inserted into table or if an old row was updated ? Is it possible somehow ?