|
maxdb_preparemaxdb::preparePrepare an SQL statement for execution BeschreibungProzeduraler Stil
resource maxdb_prepare
( resource
$link
, string $query
)Objektorientierter Stil
maxdb_stmt maxdb::prepare
( string
$query
)maxdb_prepare prepares the SQL query pointed to by the null-terminated string query, and returns a statement handle to be used for further operations on the statement. The query must consist of a single SQL statement.
The parameter
The parameter markers must be bound to application variables using maxdb_stmt_bind_param and/or maxdb_stmt_bind_result before executing the statement or fetching rows. Rückgabewerte
maxdb_prepare returns a statement resource or BeispieleBeispiel #1 Objektorientierter Stil
<?phpBeispiel #2 Prozeduraler Stil
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: Rosemont is in district IL Siehe auch
|