You cannot mix PHP and JS like that, they are two different technologies run at two different times. JS is run on the client, and PHP is run on the server so they can't directly interact with eachother.
You'll have to make a new page with an HTML link that passes the data through the query string (or something similar), for example:
Code:
Voulez vous vraiment supprimer cet enregistrement!
<a href="thispage.php?ok=1">OK</a>
<a href="thispage.php?ok=0">Cancel</a>
__________________ Please login or register to view this content. Registration is FREE - Latest Articles: Please login or register to view this content. Registration is FREE , Please login or register to view this content. Registration is FREE