connect_error) { die("Connection failed: " . $conn->connect_error); } $sql = "SELECT count(*) FROM feedback"; $result = $conn->query($sql); if ($result->num_rows > 0) { $row = $result->fetch_row(); $output = $row[0]; echo htmlspecialchars($output); } else { echo "0"; } $conn->close(); ?>
Overall Feedback!
How would you like to rate us on your overall conversation with our agent?
😄
Awesome!
Felt like talking to a friend!
😊
Good
Addressed all my concerns.
😐
Satisfied
The experience was fine.
😕
Poor
Some parts were unclear.
😡
Very Poor
The experience was frustrating.