| PEAR Handbuch | ||
|---|---|---|
| Zurück | Nach vorne | |
Prepare() requires a generic query as string like "INSERT INTO numbers VALUES(?,?,?)". The ? are wildcards. Types of wildcards:
| ? - a quoted scalar value, i.e. strings, integers |
| & - requires a file name, the content of the file insert into the query (i.e. saving binary data in a db). |
| ! - value is inserted 'as is' |
Parameter
$query - the query to prepare
Returns
resource - the query handle
| Zurück | Zum Anfang | Nach vorne |
| DB::setFetchMode() | Nach oben | DB::autoPrepare() |