1$result_select = mysqli_query($cnx,$query_select);
2$rows = array();
3while($row = mysqli_fetch_array($cnx,$result_select))
4 $rows[] = $row;
5foreach($rows as $row){
6 $ename = stripslashes($row['name']);
7 $eemail = stripcslashes($row['email']);
8 $epost = stripslashes($row['post']);
9 $eid = $row['id'];
10}