Greetings,

I've created some custom code to delete some records via admin using the query factory class. It works, but don't know how to get a count of how many records were affected / deleted?

I tried this, but it doesn't return any results...

PHP Code:
$del_sql 'My Delete Query';
$del_results $db->Execute($del_sql);
$count $del_results->RecordCount();
echo 
$count
Suggestions?

Thanks