From 2067d1a727e7eb5e5ffb40e967f3d1fc4c8a41b2 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Thu, 13 Nov 2008 22:59:24 +0000 Subject: Changing EOL style to LF --- user_guide/database/table_data.html | 224 ++++++++++++++++++------------------ 1 file changed, 112 insertions(+), 112 deletions(-) (limited to 'user_guide/database/table_data.html') diff --git a/user_guide/database/table_data.html b/user_guide/database/table_data.html index 7f8e461e4..3f3339338 100644 --- a/user_guide/database/table_data.html +++ b/user_guide/database/table_data.html @@ -1,113 +1,113 @@ - - - - - -Table Data : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 1.7

-
- - - - - - - - - -
- - - -
- - - -
- - - -

Table Data

- -

These functions let you fetch table information.

- -

$this->db->list_tables();

- -

Returns an array containing the names of all the tables in the database you are currently connected to. Example:

- -$tables = $this->db->list_tables();
-
-foreach ($tables as $table)
-{
-   echo $table;
-} -
- - -

$this->db->table_exists();

- -

Sometimes it's helpful to know whether a particular table exists before running an operation on it. -Returns a boolean TRUE/FALSE. Usage example:

- - -if ($this->db->table_exists('table_name'))
-{
-   // some code...
-} -
- -

Note: Replace table_name with the name of the table you are looking for.

- - - - - -
- - - - - - + + + + + +Table Data : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

CodeIgniter User Guide Version 1.7

+
+ + + + + + + + + +
+ + + +
+ + + +
+ + + +

Table Data

+ +

These functions let you fetch table information.

+ +

$this->db->list_tables();

+ +

Returns an array containing the names of all the tables in the database you are currently connected to. Example:

+ +$tables = $this->db->list_tables();
+
+foreach ($tables as $table)
+{
+   echo $table;
+} +
+ + +

$this->db->table_exists();

+ +

Sometimes it's helpful to know whether a particular table exists before running an operation on it. +Returns a boolean TRUE/FALSE. Usage example:

+ + +if ($this->db->table_exists('table_name'))
+{
+   // some code...
+} +
+ +

Note: Replace table_name with the name of the table you are looking for.

+ + + + + +
+ + + + + + \ No newline at end of file -- cgit v1.2.3-24-g4f1b