Welcome Guest, Not a member yet? Register   Sign In
How to you debug blank pages?
#6

[eluser]CheekyGeek[/eluser]
And here is the view all.php

Code:
<html>
<head>
<title><?php echo $title ?></title>
</head>
<body>
    <h1>&lt;?php echo $heading ?&gt;</h1>
    
    &lt;form method="POST" action=""&gt;
    <table cellspacing="3" border="0">
    &lt;?php foreach($query->result() as $row): ?&gt;
    <tr bgcolor="yellow" >
    <td>&lt;?php echo $row->username ?&gt;</td>
    <td>&lt;?php echo $row->password ?&gt;</td>
    <td>&lt;?php echo $row->email ?&gt;</td>
    <td>&lt;?php echo $row->org ?&gt;</td>
    <td>&lt;?php echo $row->phone ?&gt;</td>
    <td>&lt;?php echo anchor('user/detail/'.$row->id, 'Edit User Info'); ?&gt;</td>
    </tr>
    &lt;?php endforeach; ?&gt;
    </table>
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;

I had this working fine when I was using just controller and view, but how to use the model I don't get.


Messages In This Thread
How to you debug blank pages? - by El Forum - 06-21-2008, 05:57 PM
How to you debug blank pages? - by El Forum - 06-21-2008, 09:27 PM
How to you debug blank pages? - by El Forum - 06-21-2008, 11:34 PM
How to you debug blank pages? - by El Forum - 06-21-2008, 11:50 PM
How to you debug blank pages? - by El Forum - 06-22-2008, 12:28 AM
How to you debug blank pages? - by El Forum - 06-22-2008, 12:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB