Results of 1 - 10 of about 132 for quote (0.002 sec.)
- Quotes and escapes a string for use in an SQL statement 10461
- « mysqli::query mysqli::real_connect » PHP Manual mysqli Quotes and escapes a string for use in an SQL statement 検索 mysqli::quote_string mysqli_quote_string (PHP 8 >= 8.6.0) mysqli::quote_string -- mysqli_quote_string — Quotes and escapes
... a string for use in an SQL statement 説明 オブジェクト指向型 public function mysqli::quote_string ( string $string ): string 手続き型 function mysqli_quote_string ( mysqli $mysql , string $string ): string Creates ... eal_escape_string() , taking into account the current character set of the connection, and the result is wrapped in single quotes. The returned value must therefore be inserted into the query without adding any further quotes around it. Unlike mysqli: ... haracter set must be set either at the server level, or with the API function mysqli_set_charset() for it to affect mysqli_quote_string() . See the concepts section on character sets for more information. 注意 : Quoting is only suitable for string lit ...
-
https://man.mtool.work/php/8.3/mysqli.quote-string.html
- Quotes and escapes a string for use in an SQL statement 10413
- « mysqli::query mysqli::real_connect » PHP Manual mysqli Quotes and escapes a string for use in an SQL statement 検索 mysqli::quote_string mysqli_quote_string (PHP 8 >= 8.6.0) mysqli::quote_string -- mysqli_quote_string — Quotes and escapes
... a string for use in an SQL statement 説明 オブジェクト指向型 public function mysqli::quote_string ( string $string ): string 手続き型 function mysqli_quote_string ( mysqli $mysql , string $string ): string Creates ... eal_escape_string() , taking into account the current character set of the connection, and the result is wrapped in single quotes. The returned value must therefore be inserted into the query without adding any further quotes around it. Unlike mysqli: ... haracter set must be set either at the server level, or with the API function mysqli_set_charset() for it to affect mysqli_quote_string() . See the concepts section on character sets for more information. 注意 : Quoting is only suitable for string lit ...
-
https://man.mtool.work/php/8.3/mysqli.quote-string.html
- 正規表現文字をクオートする 9614
- « preg_match_all preg_replace » PHP Manual PCRE 関数 正規表現文字をクオートする 検索 preg_quote (PHP 4, PHP 5, PHP 7, PHP 8) preg_quote — 正規表現文字をクオートする 説明 function preg_quote ( string $str , ? string $delimiter = null ): stri
... ng preg_quote() は、 str を引数とし、正規表現構文の特殊文字の前にバックスラッシュを挿入します。 この関数は、実行時に生成される文字列をパ ... 、次のものです。 . \ + * ? [ ^ ] $ ( ) { } = ! < > | : - # / は正規表現の特殊文字ではないことに注意しましょう。 注意 : preg_quote() は、 preg_replace() などにおける $replacement 文字列に使うことを想定したものではありません。 パラメータ str 入力文字列。 ... 履歴 バージョン 説明 7.3.0 # 文字がクォートされるようになりました。 7.2.0 delimiter は、nullable になりました。 例 例1 preg_quote() の例 <?php $keywords = '$40 for a g3/400' ; $keywords = preg_quote ( $keywords , '/' ); echo $keywords ; // \$40 for a g ...
-
https://man.mtool.work/php/8.3/function.preg-quote.html
- XPath 式で使用できるよう、文字列のまわりに引用符を付ける 9565
- « DOMXPath::query DOMXPath::registerNamespace » PHP Manual DOMXPath XPath 式で使用できるよう、文字列のまわりに引用符を付ける 検索 DOMXPath::quote (PHP 8 >= 8.4.0) DOMXPath::quote — XPath 式で使用できるよう、文字列のまわりに引用符を付ける 説
... 明 public static function DOMXPath::quote ( string $str ): string XPath 式で使用できるよう、 str のまわりに引用符を付けます。 パラメータ str 引用符をつける文字列 戻 ... 字列を返します。 例 例1 引用符を含む属性値の変換 <?php $doc = new DOMDocument ; $doc -> loadXML (<<<XML <books> <book name="'quoted' name">Book title</book> </books> XML); $xpath = new DOMXPath ( $doc ); $query = "//book[@name=" . DOMXPath :: quote ( "' ... ( $entries as $entry ) { echo "Found " , $entry -> textContent , "\n" ; } ?> 上の例の出力は以下となります。 //book[@name="'quoted' name"] Found Book title 引用符が混在している文字列もサポートします: <?php echo DOMXPath :: quote ( "'different' \"quote\ ...
-
https://man.mtool.work/php/8.3/domxpath.quote.html
- 正規表現文字をクオートする 9565
- « preg_match_all preg_replace » PHP Manual PCRE 関数 正規表現文字をクオートする 検索 preg_quote (PHP 4, PHP 5, PHP 7, PHP 8) preg_quote — 正規表現文字をクオートする 説明 function preg_quote ( string $str , ? string $delimiter = null ): stri
... ng preg_quote() は、 str を引数とし、正規表現構文の特殊文字の前にバックスラッシュを挿入します。 この関数は、実行時に生成される文字列をパ ... 、次のものです。 . \ + * ? [ ^ ] $ ( ) { } = ! < > | : - # / は正規表現の特殊文字ではないことに注意しましょう。 注意 : preg_quote() は、 preg_replace() などにおける $replacement 文字列に使うことを想定したものではありません。 パラメータ str 入力文字列。 ... 履歴 バージョン 説明 7.3.0 # 文字がクォートされるようになりました。 7.2.0 delimiter は、nullable になりました。 例 例1 preg_quote() の例 <?php $keywords = '$40 for a g3/400' ; $keywords = preg_quote ( $keywords , '/' ); echo $keywords ; // \$40 for a g ...
-
https://man.mtool.work/php/8.3/function.preg-quote.html
- XPath 式で使用できるよう、文字列のまわりに引用符を付ける 9505
- « DOMXPath::query DOMXPath::registerNamespace » PHP Manual DOMXPath XPath 式で使用できるよう、文字列のまわりに引用符を付ける 検索 DOMXPath::quote (PHP 8 >= 8.4.0) DOMXPath::quote — XPath 式で使用できるよう、文字列のまわりに引用符を付ける 説
... 明 public static function DOMXPath::quote ( string $str ): string XPath 式で使用できるよう、 str のまわりに引用符を付けます。 パラメータ str 引用符をつける文字列 戻 ... 字列を返します。 例 例1 引用符を含む属性値の変換 <?php $doc = new DOMDocument ; $doc -> loadXML (<<<XML <books> <book name="'quoted' name">Book title</book> </books> XML); $xpath = new DOMXPath ( $doc ); $query = "//book[@name=" . DOMXPath :: quote ( "' ... ( $entries as $entry ) { echo "Found " , $entry -> textContent , "\n" ; } ?> 上の例の出力は以下となります。 //book[@name="'quoted' name"] Found Book title 引用符が混在している文字列もサポートします: <?php echo DOMXPath :: quote ( "'different' \"quote\ ...
-
https://man.mtool.work/php/8.3/domxpath.quote.html
- ODBC の接続文字列をクオートする 9396
- « odbc_connection_string_is_quoted odbc_connection_string_should_quote » PHP Manual ODBC 関数 ODBC の接続文字列をクオートする 検索 odbc_connection_string_quote (PHP 8 >= 8.2.0) odbc_connection_string_quote — ODBC の接続文字列をクオートする
... 説明 function odbc_connection_string_quote ( string $str ): string 接続文字列の値を、ODBC のルールに従ってクオートします。 つまり、波括弧で文字列を囲み、右括弧はエス ... 文字列にクオートが必要かどうかもチェックしないことに注意してください。 それらの用途には、それぞれ odbc_connection_string_is_quoted() と、 odbc_connection_string_should_quote() をコールしてください。 パラメータ str クオートされていない文字列 戻り値 波括 ... 弧で囲まれた、クオートされた文字列。 適切にエスケープも行われます。 例 例1 odbc_connection_string_quote() の例 この例は文字列をクオートし、接続文字列に追加します。 文字列がクオートされ、文字列中の右括弧もエスケープされることに ...
-
https://man.mtool.work/php/8.3/function.odbc-connection-string-quote.html
- ODBC の接続文字列をクオートする 9396
- « odbc_connection_string_is_quoted odbc_connection_string_should_quote » PHP Manual ODBC 関数 ODBC の接続文字列をクオートする 検索 odbc_connection_string_quote (PHP 8 >= 8.2.0) odbc_connection_string_quote — ODBC の接続文字列をクオートする
... 説明 function odbc_connection_string_quote ( string $str ): string 接続文字列の値を、ODBC のルールに従ってクオートします。 つまり、波括弧で文字列を囲み、右括弧はエス ... 文字列にクオートが必要かどうかもチェックしないことに注意してください。 それらの用途には、それぞれ odbc_connection_string_is_quoted() と、 odbc_connection_string_should_quote() をコールしてください。 パラメータ str クオートされていない文字列 戻り値 波括 ... 弧で囲まれた、クオートされた文字列。 適切にエスケープも行われます。 例 例1 odbc_connection_string_quote() の例 この例は文字列をクオートし、接続文字列に追加します。 文字列がクオートされ、文字列中の右括弧もエスケープされることに ...
-
https://man.mtool.work/php/8.3/function.odbc-connection-string-quote.html
- 特定の文字をエスケープする 8597
- « db2_cursor_type db2_exec » PHP Manual IBM DB2 関数 特定の文字をエスケープする 検索 db2_escape_string (PECL ibm_db2 >= 1.6.0) db2_escape_string — 特定の文字をエスケープする 説明 function db2_escape_string ( string $string_literal ): string
... ; if ( $conn ) { $str [ 0 ] = "All characters: \x00 , \n , \r , \ , ' , \" , \x1a ." ; $str [ 1 ] = "Backslash (\). Single quote ('). Double quote (\")" ; $str [ 2 ] = "The NULL character \0 must be quoted as well" ; $str [ 3 ] = "Interesting characte ... rs: \x1a , \x00 ." ; $str [ 4 ] = "Nothing to quote" ; $str [ 5 ] = 200676 ; $str [ 6 ] = "" ; foreach( $str as $string ) { echo "db2_escape_string: " . db2_escape_string ( $ ... となります。 db2_escape_string: All characters: \0 , \n , \r , \\ , \' , \" , \Z . db2_escape_string: Backslash (\\). Single quote (\'). Double quote (\") db2_escape_string: The NULL character \0 must be quoted as well db2_escape_string: Interesting cha ...
-
https://man.mtool.work/php/8.3/function.db2-escape-string.html
- クエリ用の文字列をクオートする 8597
- « PDO::query PDO::rollBack » PHP Manual PDO クエリ用の文字列をクオートする 検索 PDO::quote (PHP 5 >= 5.1.0, PHP 7, PHP 8, PECL pdo >= 0.2.1) PDO::quote — クエリ用の文字列をクオートする 説明 public function PDO::quote ( string $string , int
... $type = PDO::PARAM_STR ): string | false PDO::quote() は入力文字列のまわりに引用符を付け、 入力文字列にあるシングルクオートをエスケープします。その場合、 構成しているドライバ ... クオート形式が使用されます。 この関数を SQL の構築に使用する場合、 SQL ステートメントにユーザーの入力値を埋め込むための PDO::quote() を使用する代わりに、 バインドパラメータを用いて SQL を準備するための PDO::prepare() を使用することが 強く 推奨されます。 ... タベース接続自身に設定させる (ドライバに依存します) なりして、 文字セットを明示しておく必要があります。この文字セットが PDO::quote() に影響を及ぼします。詳細は 各ドライバのドキュメント を参照ください。 パラメータ string クオートされる文字列を指定します。 ...
-
https://man.mtool.work/php/8.3/pdo.quote.html