hola
listo mira:
Código PHP:
Ver originalinclude "library/includes/connect.php";
echo "<table cellpadding=\"0\" cellspacing=\"0\" style=\"width: 100%\">\n";
mysql_query("SET character_set_results = 'utf8', character_set_client = 'utf8', character_set_connection = 'utf8', character_set_database = 'latin1', character_set_server = 'latin1'", $con); $Result=mysql_query("SELECT * FROM MOVIES ORDER BY TITLE_ES ASC",$con);
$starring= $row['STARRING'];
$starring_format = explode(",",$starring); $count_result = count($starring_format);
echo " <tr>\n";
echo " <td style=\"width: 218px; height: 314px\">\n";
echo " <img alt=\"\" height=\"314\" src=\"".$row['POSTER']."\" width=\"203\"></td>\n";
echo " <td".$row['HD']."><span style=\"font-size: x-large; font-weight: bold;\">".$row['TITLE_ES']."</span><br><span style=\"color: gray;\">".$row['TITLE']." - ".$row['YEAR']."</span><br><br><strong>Genero:\n";
echo " </strong>".$row['GENRE']." ".$row['GENRE2']."<br><strong>Idioma: </strong>".$row['LANGUAJE']."<br><strong>Duracion:\n";
echo " </strong>".$row['TIME']."<br><br><strong>Reparto: </strong>";
for($i = 0 ;$i < $count_result;$i++){
echo '<a href="#">'.$starring_format[$i].'</a> %nbsp; ';
}
echo "<br><strong>Director:\n";
echo " </strong>".$row['DIRECTED']."<br><br><strong>Sinopsis: </strong>".$row['PLOT_ES']."</td>\n";
echo " </tr>\n";
}
echo "</table>";