����JFIF��x�x������Exif��MM�*���� ����E���J����������������(������������������
Server IP : 103.191.208.227 / Your IP : 3.143.7.101 Web Server : LiteSpeed System : Linux emphasis.herosite.pro 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64 User : mhmsfzcs ( 1485) PHP Version : 8.1.31 Disable Function : show_source, system, shell_exec, passthru, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home/mhmsfzcs/vflyorions.com/.well-known/../../www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include('db.php'); session_start(); if (isset($_POST['id'])) { $id = $_POST['id']; $stmt = "SELECT * FROM `new_resume` WHERE `id`='$id'"; $result = $conn->query($stmt); if ($result->num_rows > 0) { while ($row = $result->fetch_assoc()) { $pdf = $row['resume']; $imgid = $row['id']; } $stmt2 = "SELECT COUNT(*) as count FROM `form_data` WHERE img_id='$imgid' AND img_name='$pdf'"; $result2 = $conn->query($stmt2); if ($result2->num_rows > 0) { $row2 = $result2->fetch_assoc(); $cntimgid = $row2['count']; } else { $cntimgid = 'Data not available'; } // echo '<h5>Total Inserted(typed) Record of this image - <b style="font-size:20px">' . $cntimgid . '</b> If you want to show currently entered Record count so Please Re-Select Image</h5>'; } } ?> <?php //this is my old code above code is chatgpts code // include 'db.php'; // session_start(); // if($_POST['id']){ // $id=$_POST['id']; // //$user_id=$_SESSION['id']; // $stmt3=("SELECT * FROM `form_data` WHERE user_id='$user_id'"); // $result3 = $conn->query($stmt3); // $row3=$result3->fetch_assoc(); // $userid2=$row3['user_id']; // $stmt2=("SELECT COUNT(*) as img_id FROM `form_data` WHERE img_id='$id' AND user_id='$userid2'"); // $result2 = $conn->query($stmt2); // if($result2->num_rows>0){ // while($row2=$result2->fetch_assoc()) // { // $cntimgid=$row2['img_id']; // echo'<p class="" id="show_message" style="color:green;font-size:20px">Form data submitted!'.$cntimgid.'</p> '; // } // } // } ?>