Forum Moderators: coopster
you could use at the end of you query (both cases)
$result
if $result OK then pass an email
else
echo a failure/warning message
At WebmasterWorld we do not use too many "one solution fits all"
so we do not have pre-made scripts
but we will be more than happy to look at what you have and help you develop a script tailored to your need
Post first how your DB is queried
and how rows could be either updated or added.