Rezepte

getRecipeNames() as $id => $name) { if($i%2==0){$parity="even";}else{$parity="odd";} if((strtoupper(str_split($name)[0]))!=strtoupper($currentLetter)){ $currentLetter = strtoupper(str_split($name)[0]); echo "

".strtoupper($currentLetter)."

"; } echo "$name"; $i++; } ?>