I'm still new to php and I was hoping someone here could help me with my code.
here is my php function:
include_once $_SERVER['DOCUMENT_ROOT'] . '/includes/db.inc.php';
$result = mysqli_query($link, 'SELECT COUNT(*) FROM partners');
$error = 'Database error counting partners!';
$row = mysqli_fetch_array($result);
My error comes from this code that is calling the function...
<?php echo htmlspecialchars($totalpartners, ENT_QUOTES, 'UTF-8'); ?>
Thank you for taking the time to read my post and any help would be greatly appreciated. --Ben