I am trying to do a count of all types in there(hardware and software) I thought i had the correct structure...but I guess i am wrong...
$count = mysqli_query($mysqli, "SELECT COUNT(*) AS total_count FROM assets WHERE cust_id=$custID AND (asset_type='hardware' AND asset_type='software') ");
echo mysqli_error($mysqli);
$count = mysqli_fetch_object($count);
$count = $count->total_count;
any help would be great..