My table isn't showing :(
-
Well, I’ve created a page template, and the information is showing up right, but when I try to put the info into a table, all the page contents disappear!
Thank you for your time!
echo "<table>"; echo "<tbody>"; foreach($result as $row) { echo "<tr>"; echo "<td>"; echo $row->id; //echo " "; echo "</td>"; echo "<td>"; echo $row->fname." ".$row->lname; //echo " "; echo "</td>"; echo "<td>"; if($row->answer == '') echo "(individual)"; else echo $row->answer; echo "</td>"; //echo " "; echo "<td>"; echo $row->city; echo "</td>"; //echo "<br />"; echo "</tr>"; } echo "</tbody>"; echo "</table>";
- The topic ‘My table isn't showing :(’ is closed to new replies.