function icanhazcheezburger($array) {
echo "I want a Cheeseburger with: ";
foreach ($array as $arr) {
echo "$arr[1] $arr[0], ";
}
}
echo icanhazcheezburger(array(array('Double Meat', ''), array('Tommato', 'No'), array('Ketchup', 'No'), array('Mustard', 'No'), array('Lettuce', 'Add'), array('Bacon', 'Add')));
I want a Cheeseburger with: Double Meat, No Tommato, No Ketchup, No Mustard, Add Lettuce, Add Bacon
This came about because I listed on my FB profile I could speak PHP, someone asked me to order a Cheeseburger, so I did.