Im having trouble formatting a table using php, this is just part of my code
echo"<th>Name:</th> <td>".$row['firstName'] . "</td> ";
echo"<th>Last Name:</th> <td>".$row['lastName'] . "</td> ";
the way its formatting is the following
Name: Israel Last Name: Rodriguez
The way i want it formatted is the following
Name: Last Name:
Israel Rodriguez
any help is appreciated
You messed up rows definition, try change your code like this: