(no version information, might be only in CVS)
PDOStatement::fetchSingle -- Returns the first column in the next row of a result setAtenção |
Esta função é EXPERIMENTAL. Isso quer dizer que o comportamento desta função e seu nome, incluindo TUDO o que está documentado aqui pode mudar em futuras versões do PHP, SEM QUALQUER NOTIFICAÇÃO. Esteja avisado, e use esta função por sua própria conta e risco. |
PDOStatement::fetchSingle() returns the first column in the next row of a result set as a string value.
Atenção |
There is no way to return the second or subsequent columns from a row if you use this method to retrieve data. |
O exemplo acima irá imprimir:
Fetch the first column from the next row in the result set: lemon orange |