Ver Mensaje Individual
  #6 (permalink)  
Antiguo 21/09/2008, 17:55
lathix
 
Fecha de Ingreso: diciembre-2007
Ubicación: C:\Escritorio\Frente al Pc
Mensajes: 47
Antigüedad: 16 años, 4 meses
Puntos: 0
Respuesta: Como le pongo una clase?

Código PHP:
<?
if(!defined('flash_script')) die('Error');

function 
tabla_cont ($title,$content)
           {

             
$echo "<table width='460' border='0' align='center' cellpadding='0' cellspacing='0'>
    <tr>
      <td height='40' background='imagenes/t01.jpg'><table width='100%' border='0' cellspacing='0' cellpadding='0'>
          <tr>
            <td><div align='center'>" 
$title "</div></td>
          </tr>
      </table></td>
    </tr>
    <tr>
      <td background='imagenes/t02.jpg' class='f'><table width='385' border='0' align='center' cellpadding='0' cellspacing='0'>
        <tr>
          <td class='tuclase'>" 
$content "&nbsp;</td>
        </tr>
      </table></td>
    </tr>
    <tr>
      <td><img src='imagenes/t03.jpg' width='460' height='10' /></td>
    </tr>
  </table>"
;
                return 
$echo;
                
            }  
            
?>
da error pero en respuesta de tu funcion :P funciona :P