query($insertQuery)){ echo '
Article added to the database

'; }else{ exit('
Sorry, there was an error saving to the database
'); } } ?>