View of CodeIgniter Reviewed by Momizat on . A view requests information from the model that it needs for generating an output representation to the user. [php] <!doctype html> <html> <head A view requests information from the model that it needs for generating an output representation to the user. [php] <!doctype html> <html> <head Rating: 0

View of CodeIgniter

A view requests information from the model that it needs for generating an output representation to the user.

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Dashboard</title>
</head>
 
<body>
<table width="100%" border="0">
  <tr>
    <td width="16%">Name</td>
    <td width="12%">Email</td>
    <td width="31%">Phone</td>
    <td width="41%">Address</td>
  </tr>
  <tr>
  <?php foreach($result as $resultvl){?>
    <td><?php echo $resultvl['name'];?></td>
    <td><?php echo $resultvl['email'];?></td>
    <td><?php echo $resultvl['phone'];?></td>
    <td><?php echo $resultvl['address'];?></td>
  </tr>
  <?php }?>
</table>
</body>
</html>

Leave a Comment

© 2014 Powered By