Mam problemy z tym skryptem:
<? if ($co=="") { $co=news; } include($co.".html"); ?>Czy ktoś mógłby mi powiedzieć co tutaj jest źle napisane ?
Mam problemy z tym skryptem:
<? if ($co=="") { $co=news; } include($co.".html"); ?>Czy ktoś mógłby mi powiedzieć co tutaj jest źle napisane ?
a co sie wyswietla??
ale możesz zrobic tak:
<? if ($co=="news") { $co=news; } include($co.".html"); ?>
$co='news';
Eh i pewnie dostales blad w stylu Syntax Error. [glowa]