The columnCount() fundajental returns the number of columns in the result set. Note: A statement handle also has a rowCount() method, but for statements that return a result set, it cannot be assumed to reliably return the number of rows. Instead, fetch the rows and count them, as shown in fundamental baptist sermon outlines preceding example. Other Ways To Fetch Result Set Rows fetch() accepts an optional fetch-mode argument indicating what type of value to return. This section describes some common mode values. PDO stores the column values in the variables, fundamental baptist sermon outlines fetch() returns TRUE instead of a row value kingdom days sim date hacked
rows remain in the result set: Using Prepared Statements exec() and query() are PDO object methods: You use them with a database handle and they execute a statement immediately and return its result. It is also possible to prepare a statement for execution without executing it immediately.