Ver Mensaje Individual
  #3 (permalink)  
Antiguo 22/12/2012, 02:55
dark_17
 
Fecha de Ingreso: noviembre-2012
Ubicación: Villa Maria, Peru
Mensajes: 46
Antigüedad: 11 años, 5 meses
Puntos: 0
Respuesta: "Ver mas" en un campo tipo text php mysql

Waoo.. men soy un novato en javascript :(
pense que se podia solo con puro PHP
La verdad no entendi bien lo que quizo decir,
el pedazo de mi codigo es este:
Código PHP:
<form class="tableName toolbar">

                    
                    <table  class="display data_table8 " id="data_table">
                              <thead>
                                 <tr>
                                                                                            
                                   <th width = "50" align="center"  width="1" >ACCION</th>
                                    <th align="center" width="100">CODIGO</th>
                                    <th align="center" width="1" ></th>
                                    <th width="400">MENSAJE</th>
                                                                                            
                                     <th align="center"  width="1" ></th>
                                     <th align="center" width="200">FECHA/NOTA</th>
                                     <th align="center"  width="1" ></th>
                                    <th align="center"  width="1" ></th>
                                  </tr>
                              </thead>
                                     <tbody>
                                      <?php
                                                             
                    
if ($notas == 0) {
                                                    } else if (
$notas 0) {
                                                    foreach (
$notas as $info) {
                                       
?>
                                        
                                          <tr>
                                              <td   align="center">
                                       <span class="tip " >
                                          <a onclick="return anular();" href=ctr_anularnota.php?note=<?php echo $info['idnota'];?> title="Anular">
                                              <img src="images/icon/icon_delete.png" >
                                          </a>
                                      </span>
                                            </td>
                                            <td  align="center"><?php echo $info['id_reservacion'?></td>    
                                            <td  align="center" width="1"></td>    
                                            <td ><b class="red"><?php echo $info['mensaje_nota'?></td>        
                                            
                                            <td  align="center" width="1"></td>    
                                            <td  align="center"><?php echo $info['fecha_nota'?></td>
                                            
                                            <td  align="center" width="1"></td>    
                                            <td  align="center" width="1"></td>    
                                          </tr>
                                        
        <?php
    
}
}
?>
                                       </tbody>
                                    </table>
                                  </form>
Jalo esos datos de la db y en el campo mensaje quiero que me muestre una cantidad de texto determinada y un link "Ver mas".