diff --git a/user_guide/database/fields.html b/user_guide/database/fields.html
index 83abe63..f3ba357 100644
--- a/user_guide/database/fields.html
+++ b/user_guide/database/fields.html
@@ -65,14 +65,14 @@
<h1>Field Data</h1>
-<h2>$this->db->list_fields();</h2>
+<h2>$this->db->list_fields()</h2>
<p>Returns an array containing the field names. This query can be called two ways:</p>
<p>1. You can supply the table name and call it from the <dfn>$this->db-></dfn> object:</p>
<code>
-$fields = $this->db->list_fields('table_name');<br /><br />
+$fields = $this->db->list_fields('table_name')<br /><br />
foreach ($fields as $field)<br />
{<br />
@@ -84,7 +84,7 @@
from your query result object:</p>
<code>
-$query = $this->db->query('SELECT * FROM some_table');
+$query = $this->db->query('SELECT * FROM some_table')
<br /><br />
foreach ($query->list_fields() as $field)<br />
@@ -94,7 +94,7 @@
</code>
-<h2>$this->db->field_exists();</h2>
+<h2>$this->db->field_exists()</h2>
<p>Sometimes it's helpful to know whether a particular field exists befor performing an action.
Returns a boolean TRUE/FALSE. Usage example:</p>
@@ -112,7 +112,7 @@
-<h2>$this->db->field_data();</h2>
+<h2>$this->db->field_data()</h2>
<p>Returns an array of objects containing field information.</p>
<p>Sometimes it's helpful to gather the field names or other metadata, like the column type, max length, etc.</p>
@@ -122,7 +122,7 @@
<p>Usage example:</p>
<code>
-$fields = $this->db->field_data('table_name');<br /><br />
+$fields = $this->db->field_data('table_name')<br /><br />
foreach ($fields as $field)<br />
{<br />
@@ -136,8 +136,8 @@
<p>If you have run a query already you can use the result oject instead of supplying the table name:</p>
<code>
-$query = $this->db->query("YOUR QUERY");<br />
-$fields = $query->field_data();
+$query = $this->db->query("YOUR QUERY")<br />
+$fields = $query->field_data()
</code>