I can't figure out how to separate the date and time when displaying the data from the database table.
if($num>0){
while($row = mysqli_fetch_assoc($result)){
echo "<tr>";
echo "<td>" . $row['Id'] . "</td>";
echo "<td>" . $row['Name'] . "</td>";
echo "<td>" . $row['Number'] . "</td>";
echo "<td>" . $row['Email'] . "</td>";
echo "<td>" . $row['Password'] . "</td>";
echo "<td>" . $row['CNIC'] . "</td>";
echo "<td>" . $row['dt'] . "</td>";
echo "</tr>";
}
echo "</table>";
}