ohctech_p8/check_injury_images_count.php

9 lines
303 B
PHP
Raw Normal View History

2024-10-16 19:18:52 +05:30
<?php
include('includes/config/config.php');
$sqlShowImages = "SELECT * FROM injury_image WHERE `injury_id` = '" . $_REQUEST['id'] . "'";
error_log("SQL SHOW IMAGES:" . $sqlShowImages);
$resultShowImages = mysqli_query($conn, $sqlShowImages);
echo $CountofImages = mysqli_num_rows($resultShowImages);