Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/01/2013, 11:50
xoceunder
 
Fecha de Ingreso: junio-2012
Ubicación: En el Mundo
Mensajes: 759
Antigüedad: 11 años, 10 meses
Puntos: 10
Respuesta: duda en poder hacer que continue en otro tr en la tabla

ya creo tenerlo pero sige dandome problema miren la foto



y esto es el codigo

Código PHP:
Ver original
  1. <?php
  2. $list_film = null;
  3. $i = 0;
  4.  while ($row_list_movie_center = mysql_fetch_assoc($list_movie_center)) {
  5.   if ($i == 0) $list_film = "<tr>".$list_film;
  6.   if ($i == $row_list_movie_center_count) $list_film.= "</tr>";
  7. if ($i%5 == 0)
  8.             {
  9.                 $list_film.= "</tr><tr>";
  10.             }
  11.             $list_film.= "<td width=\"25%\" valign=\"top\" bgcolor=\"#ffffff\" align=\"center\" onmouseout=\"this.style.background='#ffffff'\" onmouseover=\"this.style.background='#F5F5F5'\" style=\"background: none repeat scroll 0% 0% rgb(255, 255, 255);\">
  12.                                
  13.                                     <table cellspacing=\"0\" cellpadding=\"0\" bordercolor=\"#C0C0C0\" border=\"1\" bgcolor=\"#EFEFEF\" style=\"border-collapse: collapse\" id=\"table41\">
  14.                                         <tr>
  15.                                             <td><a href=\"Bad+Taste-493.htm\"><img width=\"100\" vspace=\"2\" hspace=\"2\" border=\"0\" style=\"border: 1px solid #C0C0C0\" src=\"images/film/".$row_list_movie_center["image"]."\"></a></td>
  16.                                         </tr>
  17.                                     </table>
  18.                                     <p style=\"margin-top: 5px; margin-bottom: 0\"> <b>".$row_list_movie_center["title"]."</b></p>
  19.                                     <p style=\"margin-top: 0; margin-bottom: 0\">
  20.                                     <a href=\"movie-type-2.htm\"><font color=\"#800000\">
  21.                                     Category</font></a>: <a href=\"movie-category-14.htm\"><font color=\"#800000\">SCI-FI</font></a></p>
  22.                                     <p style=\"margin-top: 0; margin-bottom: 6px\">
  23.                                     # Views: ".$row_list_movie_center["view"]."
  24.                                 </p></td>";
  25.              echo $list_film;                  
  26.             $i++;
  27.            
  28. }  ?>