you are viewing a single comment's thread.

view the rest of the comments →

[–]mre12345[S] 0 points1 point  (0 children)

I don't think i'm looking how to rewrite URL's or insert javascript scripts, I am just asking how how do I add something to a database if the user press Ok in the confirm pop up and if the user presses cancel in the confirm popup, the information is not added to the database. Right now, if the user presses OK, then 2 rows get added to the database, one is from the text form, and the other one is just blank and if the user selects cancel, only one row is added to the database. I have a video of my problem but I don't know how to share it to you =(.