php einfache if abfrage funktioniert nicht
<?php
$k = '2';
If (isset($k == 2)){
echo"Vielen Dank für Ihre Anfrage Wir werden uns in Kürze bei Ihnen melden.";
}
Else {};
?>
Antwort:
Parse error: syntax error, unexpected T_IS_EQUAL, expecting ',' or ')' in C:\xampp\htdocs\Projekt\asd.php on line 4
If ($k == 2)
... so funktiioniert es. und dafür habe ich lange gebraucht.
|