Cytat
Parse error: parse error, unexpected T_ELSEIF in /home/users/nbkclan/public_html/articles.php on line 30
i mysle ze wszystko jest dobrze
<html> <head> <title>Natural Born Kilazz A Polish Counter-Strike Clan | Articles</title> </head> <body> <? elseif($format == \"email\"): ?> <h2>Wyslij Artykul</h2> <form action=\"index.php?go=articles\" method=\"POST\"> <p>Wyslij na adres e-mail: <input type=\"text\" name\"to\"> <br> Twoj adres e-mail: <input type=\"text\" name=\"from\"> <br> Krotki komentarz: <input type=\"text\" name=\"comment\"> <input type=\"hidden\" name=\"article\" value=\"<? echo $article ?>\"> <br> <input type=\"submit\" name=\"submit\" value=\"Wyslij!\"> </form> <? endif; $body = \"Komentarz od nadawcy: \" . $comment . \"nn\" . $stripped_data; $subject = \"Ten artykul powinien Cie zainteresowac!\"; ?> <h2>E-mail zostal wyslany ze strony NBK pomyslnie!</h2> <hr> <? $subject<p><pre>$body</pre><hr>n\"; else: ?> <hr> <p>Sformatuj ten artykul do <a href=\"index.php?go=articles&go=article=<? echo $article ?>&format=print\">drukuj</a>! <br> <a href=\"index.php?go=articles&go=article=<? echo $article ?>&format=email\">wyslij</a> ten artykul znajomemu! <? endif; ?> </body> </html>