Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/07/2008, 08:48
Avatar de T4ke0veR
T4ke0veR
 
Fecha de Ingreso: agosto-2007
Ubicación: Quito - Ecuador
Mensajes: 1.720
Antigüedad: 16 años, 8 meses
Puntos: 28
Respuesta: Hacer Numeracion de objetos

mira lo q me sale

Fatal error: Cannot redeclare npad() (previously declared in C:\wamp\www\albarracin\inmuebles_inc.php:43) in C:\wamp\www\albarracin\inmuebles_inc.php on line 43


Código PHP:
                function npad($num$max 0)
{
    return 
str_pad($num$max'0'STR_PAD_LEFT);

                
echo 
"<td align='center'>
    <table width='224' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td colspan='2' height='214' bgcolor='#DCDBA0' align='center'><table width='135' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td height='170' align='center' valign='middle' bgcolor='#C1AC6C'><img src='images2/"
.$row['imgprinc']."' width='125' height='160' border='0'/></td>
  </tr>
</table></td>
  </tr>
  <tr>
    <td height='78' width='180' bgcolor='#E8E7C1'><table width='95%' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td><span class='descPRODUCTOS'><div align='justify'>"
.$row['titulo']."</div></span></td>
  </tr>
</table></td>
    <td width='44' class='' align='center' valign='middle'><span class='textoNUMEROS'>"
.$num."</span></td>
  </tr>
  <tr>
    <td colspan='2' align='center'><img src='logo/"
.$row['logo']."' width='224'/><br></td>
  </tr>
</table> 
este es el pedazo de la declaracion e impresion!!!
__________________
Diseño gráfico, Web, imagen corporativa, publicidad ...