Welcome Guest, Not a member yet? Register   Sign In
Insert Error
#9

[eluser]chicadeas[/eluser]
entries is the name of a table in my database. I assume that it is configured when the db class is called. I can insert and extract info from my "entries" table by using standard php queries. This is my view code:

Code:
<html>
<head>
<title><?php echo $title;?></title>
</head>
<body>
<h1>&lt;?php echo $heading;?&gt;</h1>

&lt;?php foreach($query->() as $row):?&gt;
<h3>&lt;?=$row->title?&gt;</h3>
<p>&lt;?=$row->body?&gt;</p>
<hr>

&lt;?php endforeach;?&gt;

    
&lt;/body&gt;
&lt;/html&gt;


Messages In This Thread
Insert Error - by El Forum - 05-02-2010, 02:45 AM
Insert Error - by El Forum - 05-02-2010, 09:05 AM
Insert Error - by El Forum - 05-03-2010, 05:15 AM
Insert Error - by El Forum - 05-03-2010, 07:03 AM
Insert Error - by El Forum - 05-03-2010, 08:21 AM
Insert Error - by El Forum - 05-03-2010, 11:42 AM
Insert Error - by El Forum - 05-03-2010, 12:02 PM
Insert Error - by El Forum - 05-03-2010, 12:37 PM
Insert Error - by El Forum - 05-03-2010, 02:29 PM
Insert Error - by El Forum - 05-03-2010, 02:31 PM
Insert Error - by El Forum - 05-03-2010, 03:46 PM
Insert Error - by El Forum - 05-03-2010, 05:59 PM
Insert Error - by El Forum - 05-04-2010, 05:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB