Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    Strano problema di sintassi...

    Salve a tutti, questo è il messaggio di errore: "Parse error: syntax error, unexpected T_CONCAT_EQUAL in C:\xampp\htdocs\dieffeweb\it\foundsoft.php on line 31"

    Mentre questo è il codice interessato:
    Codice PHP:
    $output "";
    while (
    $row mysql_fetch_row ($ris))
    {
        
    output .= "<div style = \"margin-left: auto; margin-right: auto; margin-top: 12px; width: 400px; height: 100px; border: 3px double green;\">" .
        
    "<div style = \"background-color: #DDFFBB;\"><p style = \"margin: 2px; float: left; width: 192px; text-align: left;\"><a href = \"view_soft.php?id=" $row[0] . "\">" $row[2] . "</a></p>" .
        
    "<p style = \"margin: 2px; float: left; width: 192px; text-align: right;\">" . (($row[9] == "en") ? "<img src = \"images/enflag.png\" alt = \"Inglese\" style = \"width: 18px; height: 13px;\">" "<img src = \"images/itflag.png\" alt = \"Italiano\" style = \"width: 18px; height: 13px;\">") . "</p><div style = \"clear: both;\"></div></div>" .
        
    "<p style = \"margin: 2px; background-color: white; width: 390px; height: 60px; overflow: auto; text-align: justify; border-bottom: 2px dotted green;\">" $row[3] . "</p>" .
        
    "<p style = \"margin: 2px; float: left; width: 192px; text-align: left; font-size: 10px;\">Utente: " $row[1] . "</p>" .
        
    "<p style = \"margin: 2px; float: left; width: 192px; text-align: right; font-size: 11px;\">" $row[10] . "</p>" .
        
    "</div><div style = \"clear: both;\"></div>";
    }
    echo 
    $output
    La riga 31 sarebbe dove c'è output .=... non riesco a capire perchè fa così, c'è qualcuno che può aiutarmi?

  2. #2
    $output .=
    Addio Aldo, amico mio... [03/12/70 - 16/08/03]

  3. #3
    Originariamente inviato da gm
    $output .=
    Giusto... che idiota XD Grazie

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.