Manuál PHP | ||
---|---|---|
Předcházející | Další |
(no version information, might be only in CVS)
PDO::query -- Executes an SQL statement, returning a result set as a PDOStatement objectVarování |
Tato funkce je EXPERIMENTÁLNÍ. Chování této funkce, její název a všechno ostatní, co je zde zdokumentováno, se v budoucích verzích PHP může BEZ OHLÁŠENÍ změnit. Berte to v úvahu a používejte tuto funkci na vlastní nebezpečí. |
PDO::query() prepares and executes an SQL statement in a single function call, returning the result set (if any) returned by the statement as a PDOStatement object.
For a SELECT statement that you need to issue multiple times, prepare a PDOStatement object with PDO::prepare() and issue the statement with PDOStatement::execute().
Předcházející | Domů | Další |
PDO::prepare | Nahoru | PDO::quote |