mirror of
https://gitlab.com/harald.mueller/aktuelle.kurse.git
synced 2024-11-24 10:41:56 +01:00
14 lines
203 B
PHP
14 lines
203 B
PHP
|
<?php
|
||
|
$blumen = array(
|
||
|
"Rose",
|
||
|
"Tulpe",
|
||
|
"Nelke",
|
||
|
"Sonnenblume"
|
||
|
);
|
||
|
if (in_array("Tulpe",$blumen))
|
||
|
{
|
||
|
echo "Tulpe ist im Array enthalten.";
|
||
|
}
|
||
|
?>
|
||
|
|