![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 18 Pomógł: 0 Dołączył: 3.03.2008 Ostrzeżenie: (0%) ![]() ![]() |
Witam! Mam problem. Na stronie index.php mam zapisane
<?include ("menu.php");?> Niestety po wgraniu na serwer wyskakuje mi następujący błąd: Parse error: parse error, unexpected T_STRING in /home/g521/httpd/menu.php on line 12. Oto kod menu.php: Kod <? print (' <head> <meta http-equiv="Content-type" content="text/html;charset=ISO-8859-2"> </head> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="navoff" onmouseover="this.className='navon'" onmouseout="this.className='navoff'">Strona główna</td> </tr> <tr> <td class="navoff" onmouseover="this.className='navon'" onmouseout="this.className='navoff'">Forum</td> </tr> <tr> <td class="navoff" onmouseover="this.className='navon'" onmouseout="this.className='navoff'">newsy</td> </tr> <tr> <td class="navoff" onmouseover="this.className='navon'" onmouseout="this.className='navoff'">Konkursy</td> </tr> <tr> <td width="152" valign="top"><img src=\"images/typujemy.PNG\" alt=\"navigation\" width="152" height="26" /></tr> <tr> <td class="navoff" onmouseover="this.className='navon'" onmouseout="this.className='navoff'">Płatne pewniaki</td> </tr> <tr> <td class="navoff" onmouseover="this.className='navon'" onmouseout="this.className='navoff'">Obstaw kupon</td> </tr> <tr> <td class="navoff" onmouseover="this.className='navon'" onmouseout="this.className='navoff'">Archiwum typów</td> </tr> <tr> <td class="navoff" onmouseover="this.className='navon'" onmouseout="this.className='navoff'">Sprawdzalno¶ć</td> </tr> <tr> <td class="navoff" onmouseover="this.className='navon'" onmouseout="this.className='navoff'">WYNIKI NA ŻYWO</td> </tr> <tr> <td width="152" valign="top"><img src=\"images/onas.PNG\" alt=\"navigation\" width="152" height="26" /></tr> <tr> <td class="navoff" onmouseover="this.className='navon'" onmouseout="this.className='navoff'">Kontakt</td> </tr> <tr> <td class="navoff" onmouseover="this.className='navon'" onmouseout="this.className='navoff'">Informacje</td> </tr> <tr> <td class="navoff" onmouseover="this.className='navon'" onmouseout="this.className='navoff'">Nasze aukcje</td> </tr> </table> '); ?> Z góry dzięki za pomoc!!! Ten post edytował lolek18 15.04.2008, 17:43:34 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Przyjaciele php.pl Postów: 1 595 Pomógł: 282 Dołączył: 24.09.2007 Skąd: Reda, Pomorskie. Ostrzeżenie: (0%) ![]() ![]() |
1. Wstaw kod do właściwych znaczników BBcode bo będę musiał zamknąć temat...
2. To nie jest kod PHP tylko czysty HTML - wywal tag php, funkcję print() i zapisz jako .html 3. posklejałeś sobie chyba 2 skrypty, w jednym miałeś znaki escape dla " a w drugim żadnych. całość ująłeś w apostrofy. czy je zostawisz, czy usuniesz - i tak nie zadziała - poczytaj w manualu o różnicach w stosowaniu apostrofów ' i cudzysłowów " oraz zasadach ich zagnieżdżania ... |
|
|
![]() ![]() |
![]() |
Aktualny czas: 9.10.2025 - 23:41 |