Mysql Select Query


In MySql Select query make a big role in data manipulation.

select is a DML function. The SELECT statement is used to select data from one or more tables.

The SQL SELECT command is used to fetch data from the MySQL database.

First you can need database connection in php



      $sql = "SELECT * FROM users "; 
      $result = mysqli_query($con,$sql);
      while($row = mysqli_fetch_assoc($result))