Sponsored Content
Full Discussion: What's your drink?
The Lounge What is on Your Mind? What's your drink? Post 302206291 by Dave Miller on Tuesday 17th of June 2008 11:57:55 AM
Old 06-17-2008
Iced Tea without lemon.

If I ever find the guy that started the tradition of adding a wedge of lemon to tea, I'm gonna kick his butt! I can't tell you how often I order Iced Tea without lemon but get a lemon anyway!Smilie

Lipton and Snapple both have an Iced Tea variety that they proudly label "without lemon". Check the ingredients: Citric Acid!Smilie


For that reason, I love driving thru the South (For you non Americans that know something about American history, the 'South' are the states that lost the Civil War. Maryland thru Georgia, and extends West to the Missippi River, more or less.)

In the South, they not only don't add the lemon, their tea is "Sweet Tea". Already perfectly sweetened. Yum.Smilie

Note: McDonald's recently added Sweet Tea to their menu. It's pretty good - if you can get it without the lemon.Smilie
 
PDOSTATEMENT.FETCHCOLUMN(3)						 1					       PDOSTATEMENT.FETCHCOLUMN(3)

PDOStatement::fetchColumn - Returns a single column from the next row of a result set

SYNOPSIS
public mixed PDOStatement::fetchColumn ([int $column_number]) DESCRIPTION
Returns a single column from the next row of a result set or FALSE if there are no more rows. Note PDOStatement.fetchColumn(3) should not be used to retrieve boolean columns, as it is impossible to distinguish a value of FALSE from there being no more rows to retrieve. Use PDOStatement.fetch(3) instead. PARAMETERS
o $column_number - 0-indexed number of the column you wish to retrieve from the row. If no value is supplied, PDOStatement.fetchColumn(3) fetches the first column. RETURN VALUES
PDOStatement.fetchColumn(3) returns a single column in the next row of a result set. Warning There is no way to return another column from the same row if you use PDOStatement.fetchColumn(3) to retrieve data. EXAMPLES
Example #1 Return first column of the next row <?php $sth = $dbh->prepare("SELECT name, colour FROM fruit"); $sth->execute(); print("Fetch the first column from the first row in the result set: "); $result = $sth->fetchColumn(); print("name = $result "); print("Fetch the second column from the second row in the result set: "); $result = $sth->fetchColumn(1); print("colour = $result "); ?> The above example will output: Fetch the first column from the first row in the result set: name = lemon Fetch the second column from the second row in the result set: colour = red SEE ALSO
PDO.query(3), PDOStatement.fetch(3), PDOStatement.fetchAll(3), PDO.prepare(3), PDOStatement.setFetchMode(3). PHP Documentation Group PDOSTATEMENT.FETCHCOLUMN(3)
All times are GMT -4. The time now is 03:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy