Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter App getting data from the wrong mySQL table?
#22

[eluser]Dave Blencowe[/eluser]
Anything in the comments view is outputting comments, there is a separate view for blog data although the variables are very similar.

main_view.php
Code:
<center>
<table border="0" cellspacing="3" cellpadding="0" width="600px">
  <tr>
    <td colspan="2">&lt;?php echo $title; ?&gt;</td>
  </tr>
  <tr>
    <td rowspan="2">&nbsp;</td>
    <td style="padding-left: 10px;">&lt;?php echo(nl2br($post)); ?&gt;</td>
  </tr>
  <tr>
    <td style="padding-left: 10px;">&lt;?php echo("".$author." - ".$timestamp."");?&gt;</td>
  </tr>
</table>


Messages In This Thread
CodeIgniter App getting data from the wrong mySQL table? - by El Forum - 10-07-2008, 11:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB