File "get_single_user.php"
Full Path: C:/wamp64/www/PERSONAL/Personal/get_single_user.php
File size: 206 bytes
MIME-type: text/x-php
Charset: utf-8
<?php include('../connection.php');
$id = $_POST['id'];
$sql = "SELECT * FROM empleados WHERE id='$id'";
$query = mysqli_query($con,$sql);
$row = mysqli_fetch_assoc($query);
echo json_encode($row);