Get all records of the user in mysql table
Posted: 28 Jan 2017, 10:08
My next problem when i use this code i getting one record from user='anonymous@hotmail.com'
but i would like to have all the records what is posted to user='anonymous@hotmail.com'.
but i would like to have all the records what is posted to user='anonymous@hotmail.com'.
Code: Select all
<?php
include('../connection.php');
$sql=mysqli_query($conn,"SELECT * FROM `notice` WHERE user='anonymous@hotmail.com' ");
$users=mysqli_fetch_assoc($sql);
?>