diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-06-26 19:05:55 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-06-26 19:05:55 +0200 |
commit | ff845f94cc8876bc6c23c2f55b695bc569038512 (patch) | |
tree | 758d7880dabce6b0c89eb79bc11a60699c52b2fb /user_guide/database | |
parent | 85f66ea6d2291c77a937305457592e24c85425ae (diff) |
changed your-site.com to example.com doc-wide
Diffstat (limited to 'user_guide/database')
-rw-r--r-- | user_guide/database/caching.html | 2 | ||||
-rw-r--r-- | user_guide/database/helpers.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/user_guide/database/caching.html b/user_guide/database/caching.html index 6d157abe1..c1ada2de9 100644 --- a/user_guide/database/caching.html +++ b/user_guide/database/caching.html @@ -178,7 +178,7 @@ $query = $this->db->query("SELECT * FROM another_table"); <p>Deletes the cache files associated with a particular page. This is useful if you need to clear caching after you update your database.</p>
<p>The caching system saves your cache files to folders that correspond to the URI of the page you are viewing. For example, if you are viewing
-a page at <dfn>www.your-site.com/index.php/blog/comments</dfn>, the caching system will put all cache files associated with it in a folder
+a page at <dfn>example.com/index.php/blog/comments</dfn>, the caching system will put all cache files associated with it in a folder
called <dfn>blog+comments</dfn>. To delete those particular cache files you will use:</p>
<code>$this->db->cache_delete('blog', 'comments');</code>
diff --git a/user_guide/database/helpers.html b/user_guide/database/helpers.html index 10598f8a8..73c541269 100644 --- a/user_guide/database/helpers.html +++ b/user_guide/database/helpers.html @@ -110,7 +110,7 @@ $str = $this->db->insert_string('table_name', $data); </code>
<p>The first parameter is the table name, the second is an associative array with the data to be inserted. The above example produces:</p>
-<code>INSERT INTO table_name (name, email, url) VALUES ('Rick', 'rick@your-site.com', 'www.your-site.com')</code>
+<code>INSERT INTO table_name (name, email, url) VALUES ('Rick', 'rick@example.com', 'example.com')</code>
<p class="important">Note: Values are automatically escaped, producing safer queries.</p>
@@ -127,7 +127,7 @@ $str = $this->db->update_string('table_name', $data, $where); </code>
<p>The first parameter is the table name, the second is an associative array with the data to be updated, and the third parameter is the "where" clause. The above example produces:</p>
-<code> UPDATE table_name SET name = 'Rick', email = 'rick@your-site.com', url = 'www.your-site.com' WHERE author_id = 1 AND status = 'active'</code>
+<code> UPDATE table_name SET name = 'Rick', email = 'rick@example.com', url = 'example.com' WHERE author_id = 1 AND status = 'active'</code>
<p class="important">Note: Values are automatically escaped, producing safer queries.</p>
|