[REVIEW] database->NameQuote

Last reviewed: Not reviewed
phpDocumentor

database->NameQuote

Quotes an identifier such as a database table name, field name, etc., using database-specific quote marks.  This method was introduced in Joomla 1.1.

Syntax

string NameQuote ( string $name )

$name
is a string to be quoted using the database-specific quotes.

Examples

Example:

global $database;
 
echo $database->NameQuote( 'myTable' );

might produce:

`myTable`
 

Please report any errors on this page to the Developer Documentation Forum.

Last Updated ( Monday, 25 December 2006 )