gcdb::escape_by_ref()

最后更新于:2021-11-26 08:25:30

gcdb::escape_by_ref( string$string)

Escapes content by reference for insertion into the database, for security.

参数

$string

(string) (Required) String to escape.

源文件

文件: gc-includes/gc-db.php

	public function escape_by_ref( &$string ) {
		if ( ! is_float( $string ) ) {
			$string = $this->_real_escape( $string );
		}
	}