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
 
ASORT(3)								 1								  ASORT(3)

asort - Sort an array and maintain index association

SYNOPSIS
bool asort (array &$array, [int $sort_flags = SORT_REGULAR]) DESCRIPTION
This function sorts an array such that array indices maintain their correlation with the array elements they are associated with. This is used mainly when sorting associative arrays where the actual element order is significant. PARAMETERS
o $array - The input array. o $sort_flags - You may modify the behavior of the sort using the optional parameter $sort_flags, for details see sort(3). RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 asort(3) example <?php $fruits = array("d" => "lemon", "a" => "orange", "b" => "banana", "c" => "apple"); asort($fruits); foreach ($fruits as $key => $val) { echo "$key = $val "; } ?> The above example will output: c = apple b = banana d = lemon a = orange The fruits have been sorted in alphabetical order, and the index associated with each element has been maintained. SEE ALSO
arsort(3), The comparison of array sorting functions. PHP Documentation Group ASORT(3)
All times are GMT -4. The time now is 04:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy