echo "<font color=green>$dati[2].$dati[1].$dati[0]</font> <a href=\"news.php?cont=long&id=$idnum&year=$dati[0]&today=$dati[2]&month=$dati[1]\"> <b>$title</b></a>"; 

writes a syntax error

Closed due to the fact that off-topic participants cheops , zRrr , Kromster , user194374, aleksandr barakin Jun 19 '16 at 9:08 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reasons:

  • “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - zRrr, Kromster, aleksandr barakin
  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - cheops, community spirit
If the question can be reformulated according to the rules set out in the certificate , edit it .

    1 answer 1

     echo("<font color=green>".$dati[2].$dati[1].$dati[0]."</font><a href='news.php?cont=long&id=".$idnum."&year=".$dati[0]."&today=".$dati[2]."&month=".$dati[1]."'><b>".$title."</b></a>"; 

    Like did not miss anything

    UPD: corrected

    • thanks, come out! - Alina Ovchinnikova 2:41 pm
    • only now the new one has come out) $ monthlong = date ("F", mktime (1,1,1, $ month, $ today, $ year)); - Alina Ovchinnikova 2:41 pm
    • Here's another error: $idnum.&year. - PinkTux
    • Pink Tux, why is there a mistake? - EatMyDust 2:43 pm
    • one
      "why there is a mistake there" - should be: $idnum."&year=" - PinkTux