Previous Page
quote()

Solar_Sql_Select
quoteInto()

Next Page
quoteMulti()

quoteInto()

public mixed quoteInto ( string $txt, mixed $val )

Quotes a value and places into a piece of text at a placeholder.

Parameters

  • (string) $txt: The text with a placeholder.
  • (mixed) $val: The value to quote.

Returns

  • (mixed) An SQL-safe quoted value (or string of separated values) placed into the orignal text.

Description

Quotes a value and places into a piece of text at a placeholder.

See Also