Database insert inserts twice

I have a database insert. But it inserts a new record twice. No errors or bug report.
Form code is:

<form id="frmfotosend" method="post" is="dmx-serverconnect-form" action="dmxConnect/api/pages/fotowedstrijd/album/insertalb.php" dmx-on:success="notifies1.success('Uw inzending is succesvol geupload en verzonden');frmfotosend.reset()">

Action step:

PhpMyAdmin print:

Anyone who can tell me how this happens and, even more important, how I can fix this?

Community Page
Last updated: