Mój problem polega (pewnie eksperci od PHP bedą wiedzieć o co chodzi) na tym że wywala mi błąd
"Parse error: syntax error, unexpected T_ECHO in /homez.232/chopa/www/streszczenia/form_kontakt.php on line 70"
Linijka 70 to
<?php echo 'Wybierz adresata' ?>
tego kodu:
<?php $dokogo = $_POST['email']; $temat = $_POST['temat']; $temat2 = $_POST['wlasny_temat']; $odkogo = $_POST['mail_nadawcy']; $wiadomosc = $_POST['wiadomosc']; if ($dokogo == 1) then echo 'Wybierz adresata' elseif ($temat == 1) then echo 'Wybierz temat' elseif ($temat == 1) and ($temat2 == \"\") then elseif ($wiadomosc == \"\") then elseif ($_SESSION['token'] !== $_POST['token']) then else $tresc = \"Email od $odkogo,\n Temat: $temat, $temat2\n Napisał:\n $wiadomosc\n\"; $headers = \"Content-type: text/plain; charset=\"iso-8859-2\"\n\"; $headers .= \"Content-Transfer-Encoding: 8bit\"; $headers .= \"Content-encoding: iso-8859-2\n\"; $headers .= \"From: Chopa.pl\n\"; $headers .= \"Reply-To: cos \n\"; $headers .= \"X-Priority: 3\n\";