Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Parse error: syntax error, unexpected T_STRING
Jarma
post
Post #1





Grupa: Zarejestrowani
Postów: 36
Pomógł: 11
Dołączył: 20.07.2009

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


Witam, mam problem ze skryptem php ...
Wyskakuje mi błąd :
Cytat
Parse error: syntax error, unexpected T_STRING in /home/accounts_j/jarma/public_html/index.php on line 69


Skrypt php:

  1. <?
  2.  
  3.  
  4. if (!empty($nazwa)){
  5.  
  6.  
  7. echo ('
  8.     <a href="konto.php"
  9.     onMouseOut="MM_swapImgRestore()" // Tutaj występuje błąd
  10.     onMouseOver="MM_swapImage('Image2','','images/b21b.gif',1);
  11.     MM_swapImage('Image2','','images/b22b.gif',1)">
  12.     <img src="images/b21b.gif" width="91" height="19" border="0" name="Image2">
  13.     </a>
  14. <br>
  15. ');
  16.  
  17. }else{
  18.  
  19. echo ('      
  20.     <a href="login.php"
  21.     onMouseOut="MM_swapImgRestore()"
  22.     onMouseOver="MM_swapImage('Image3','','images/b211a.gif',1);
  23.     MM_swapImage('Image3','','images/b212a.gif',1)">
  24.     <img src="images/b212a.gif" width="91" height="19" border="0" name="Image3"></a>
  25.     <br>
  26.     <a href="register.php"
  27.     onMouseOut="MM_swapImgRestore()"
  28.     onMouseOver="MM_swapImage('Image4','','images/b221a.gif',1);
  29.     MM_swapImage('Image4','','images/b222a.gif',1)">
  30.     <img src="images/b221a.gif" width="91" height="19" border="0" name="Image4"></a>
  31.     <br>
  32. ');
  33.  
  34. }
  35.  
  36. ?>


Z góry dziękuje za pomoc

Ten post edytował Jarma 20.07.2009, 19:47:07
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 24.08.2025 - 12:35