mirror of
https://gitlab.com/harald.mueller/aktuelle.kurse.git
synced 2024-11-24 02:31:58 +01:00
15 lines
249 B
PHP
15 lines
249 B
PHP
<?php
|
|
# Quelle: http://www.schattenbaum.net/php/
|
|
$blumen = array(
|
|
"Rose",
|
|
"Tulpe",
|
|
"Nelke",
|
|
"Sonnenblume"
|
|
);
|
|
if (in_array("Tulpe",$blumen))
|
|
{
|
|
echo "Tulpe ist im Array enthalten.";
|
|
}
|
|
?>
|
|
|