Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Parse error: syntax error, unexpected T_STRING, expecting ',' or ';', Parse error: syntax error, unexpected T_STRING, expecting ','
klem
post
Post #1





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 18.01.2016

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


Witam

Mam problem z takim błędem:
Kod
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'


Kod z którym jest to związane:
  1. else
  2. {
  3. echo'<a href="login.php"><img src="logowanie.png" onmouseover="this.src = 'logowanie2.png'" onmouseout="this.src = 'logowanie.png'"></a>';
  4. }
  5. ?>

W else chodzi oczywiście o zamiane obrazka wraz z najechaniem myszki.

Dziękuje i pozdrawiam (IMG:style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Pyton_000
post
Post #2





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

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


\';

';

http://php.net/manual/en/language.types.string.php

Ten post edytował Pyton_000 18.01.2016, 09:34:47
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 10.10.2025 - 09:40