I want to align text in center under table but i dnt know how to do this Here is my code
echo "<td>" . $row['Firstname'] ." ". $row['Lastname'] ."</td>";
echo "<td>" . $row['Marks'] . "</td>";
echo "<td>" . $row['percent'] . "</td>";
echo "<td>" . $row['Status'] . "</td>";
Kindly help me how to do this. i tried this but not working
echo '<td tyle="text-align:center;">' . $row['enroll'] . '</td>';