Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][PHP] Parse error
Eleeist
post 28.11.2010, 19:31:53
Post #1





Grupa: Zarejestrowani
Postów: 48
Pomógł: 0
Dołączył: 25.03.2009

Ostrzeżenie: (0%)
-----


  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title>Strona</title>
  6. </head>
  7. <body>
  8. <?php
  9. if (!isset($_POST['submit'])) {
  10. ?>
  11. <div id="page">
  12. <center>
  13. <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST">
  14. Haslo: <input type="password" name="password" />
  15. <input type="submit" name="submit" value="Wyslij" />
  16. </form>
  17. </center>
  18. </div>
  19. </body>
  20. </html>


Wywala:

Kod
Parse error: syntax error, unexpected $end in /index.php on line 25


I nie mam pojęcia czemu sad.gif. Przecież </html> tam może sobie siedzieć...

Ten post edytował Eleeist 28.11.2010, 19:32:46
Go to the top of the page
+Quote Post

Posty w temacie


Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 18:23