Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Closed TopicStart new topic
> [PHP]Parse error - Nie mogę przypatrzyć się błędu
kiepski96
post
Post #1





Grupa: Zarejestrowani
Postów: 233
Pomógł: 0
Dołączył: 22.02.2010

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


Pisze mi :

Parse error: syntax error, unexpected '<' in /home/restock/public_html/spis.php on line 160

Oto fragment od 141-162

  1. <?php
  2. $error_message1 = "";
  3. if ($_SERVER['REQUEST_METHOD'] == 'POST')
  4. {
  5. $action = isset($_POST['action']) ? $_POST['action'] : '';
  6. $mysql_server = 'localhost';
  7. $mysql_username = 'restock_restock';
  8. $mysql_password = 'asas';
  9. $mysql_database = 'restock_restock';
  10. $mysql_table = 'nagroda1';
  11. $db = mysql_connect($mysql_server, $mysql_username, $mysql_password);
  12. mysql_select_db($mysql_database, $db);
  13. $sql = "SELECT id FROM ".$mysql_table;
  14. $result = mysql_query($sql, $db);
  15. $nagroda1=mysql_num_rows($result);
  16.  
  17. if ($_SERVER['REQUEST_METHOD'] == 'POST' && $nagroda1 >= 2 )
  18. {
  19. $error_message1 = "Brak nagrody";</div>
  20. <!-- Brak2 -->
  21. <div id="Html4" style="position:absolute;left:642px;top:891px;width:125px;height:53px;z-index:23">
Go to the top of the page
+Quote Post
piotrooo89
post
Post #2


Newsman


Grupa: Moderatorzy
Postów: 4 005
Pomógł: 548
Dołączył: 7.04.2008
Skąd: Trzebinia/Kraków




forum nie parser. zamykam.


--------------------
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 20.08.2025 - 13:23