Questo codice da':codice:$query = "SELECT * FROM articoli WHERE Importante = 1 ORDER BY Data DESC"; $result = mysql_query($query, $db); $row = mysql_fetch_array($result); $id_articolo = $row["ID"]; $titolo_articolo = $row["Titolo"]; $descrizione = $row["Descrizione"]; $testo = $row["Testo"]; $testo1 = substr($testo,0,310); $testo1 = nl2br($testo1); $foto = $row["Foto"]; $alt = $row["Alt_Foto"]; list($width, $height, $type, $attr) = getimagesize("images/$foto"); if ($height >= "125") { $width="50%"; $height="50%";
Parse error: parse error, unexpected $ in /home/mhd-03/www.sito.it/htdocs/index.php on line 58
La linea 58 sarebbe la fine della pagina, ma non c'è codice php, i problema è da list in poi. Cos'è?

Rispondi quotando
