I'm probably missing something here. I want to write some code to:
Delete the contents of a folder
if that happens successfully carry out a mysql query
However I also don't want to delete the FOLDER unless the query will/has run
Which seems a catch 22. Is there a function to check if the syntax of the
query is correct? Or a "dummy query you can perform to get a "yeh, that
looks good respose" from MYSQL to eable me to have confidence in then
running both requests?
The concern is the state of the database getting out ...