in reply to Re: Adding a pop up confirmation box
in thread Adding a pop up confirmation box
Error :# If the form was properly submitted, save the data if ($input{"go"} eq "DELETE") { <form method="post" onsubmit="return confirm('Do you really want to de +lete?');"> $query = "DELETE FROM \"Employees\" WHERE \"EmployeeID\"="." \'$input{empid}\'"; $db_handle -> do($query); $action = "Record saved - $query"; ....
If I comment out your code script gets executed, did I put it on a wrong part of the script ? Rgds TerryScalar found where operator expected at delemp.pl line 73, near "$quer +y" (Missing semicolon on previous line?) syntax error at delemp.pl line 73, near "$query "
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Adding a pop up confirmation box
by AppleFritter (Vicar) on Jul 06, 2014 at 09:33 UTC | |
|
Re^3: Adding a pop up confirmation box
by poj (Abbot) on Jul 06, 2014 at 14:03 UTC | |
by terrykhatri (Acolyte) on Jul 07, 2014 at 06:11 UTC |