USER ID <?php // Check existence of id parameter before processing further if(isset($_GET["id"]) && !empty(trim($_GET["id"]))){ $id= trim($_GET["id"]); } // Include config file require_once "configs.php"; echo $id; echo "<br>"; $sql='SELECT * FROM users where id='.$id; $res = $db->query($sql); $i=0; while ($row = $res->fetchArray()) { echo "Name:{$row['username']}<br>Company:{$row['company']}<br>Email:{$row['email']}"; $i++; } ?>
Edit file:zuser_read.php584