(no version information, might be only in CVS)
PDOStatement::fetchSingle -- Returns the first column in the next row of a result setWarning |
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk. |
PDOStatement::fetchSingle() returns the first column in the next row of a result set as a string value.
Warning |
There is no way to return the second or subsequent columns from a row if you use this method to retrieve data. |
The above example will output:
Fetch the first column from the next row in the result set: lemon orange |