Hi I have this PHP script below which works for a selcect count(*) from x
However when I put a more advanced MYSQL syntax in there it gives the following error"Notice: Undefined index: total in /var/www/dupe.php on line 12 Total ="
// Check connection
echo "Failed to connect to MySQL: " . mysqli_connect_error();
$query = "select count(*) from activecampaign.em_exclusion
Inner join activecampaign.em_subscriber
ON em_exclusion.email = em_subscriber.email";
$result = mysqli_query($con, $query);