Do you need a prepared statement for simple view like displaying list of data? I'm trying to make a simple view that when user click the view button it will display the list of the information. User don't have to insert any information. So I was wondering do you need to make a prepared statement for this kind of view?
<?php
require_once "db.php";
require_once "session.php";
$sql = "SELECT `no_usr`, `men_id`, `type`, `title`, `bass_name`,`men_status`
FROM `men_info`";
$query = mysqli_query($link,$sql);
?>
If I need to make a prepared statement how do reconstrat the query above into a prepared statement?