Ver Mensaje Individual
  #4 (permalink)  
Antiguo 28/12/2009, 14:36
rastafinis
 
Fecha de Ingreso: mayo-2006
Mensajes: 86
Antigüedad: 18 años
Puntos: 0
Respuesta: ayuda con texto resumido en td

Bueno prove lo de Hidek1

pero no funciono

dare mas detalles de mi problema

Código:
<td align="left" valign="top" onClick="MM_goToURL('parent','ficha.php?ndii=<? echo $row['topico_id'] ?>');return document.MM_returnValue" id="resultadosdb"><div id="moduloforos2">
					
							<? $idforo = $row['foro_id']; 
							if($idforo == 1) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? } 
							if($idforo == 2) { ?><img src="../imagenes/icopost/temas.gif" width="20" height="20"><? }
							if($idforo == 3) { ?><img src="../imagenes/icopost/arte.gif" width="20" height="20"><? }
							if($idforo == 4) { ?><img src="../imagenes/icopost/autos.gif" width="20" height="20"><? }
							if($idforo == 5) { ?><img src="../imagenes/icopost/cel.png" width="20" height="20"><? }
							if($idforo == 6) { ?><img src="../imagenes/icopost/Comic.gif" width="20" height="20"><? }
							if($idforo == 7) { ?><img src="../imagenes/icopost/deportes.png" width="20" height="20"><? }
							if($idforo == 8) { ?><img src="../imagenes/icopost/descargas.gif" width="20" height="20"><? }
							if($idforo == 9) { ?><img src="../imagenes/icopost/tutoriales.gif" width="20" height="20"><? }
							if($idforo == 10) { ?><img src="../imagenes/icopost/economia.gif" width="20" height="20"><? }
							if($idforo == 11) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 12) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 13) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 14) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 15) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 16) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 17) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 18) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 19) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 20) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 21) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 22) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 23) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 24) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 25) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 26) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 27) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 28) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 29) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							if($idforo == 30) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
                            if($idforo == 31) { ?><img src="../imagenes/icopost/flash.gif" width="20" height="20"><? }
							?>                      
							
							<? $idgrupo = $row['grupo_id']; 
							if($idgrupo == 0) { ?><? } 
							if($idgrupo == 1) { ?><img src="../imagenes/icopost/temas.gif" width="20" height="20"><? }
							if($idgrupo == 2) { ?><img src="../imagenes/icopost/arte.gif" width="20" height="20"><? }
							?> 
							
				<span id="forspan"><? echo $row['topico_titulo']; ?></span></div></td>

eso es lo que contiene ese td es omo mencionas obtiene valores de una base de datos

provado lo que dijo el camarada no me funciono U_U que mas podria hacer?