Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/02/2007, 07:35
Avatar de polaya
polaya
 
Fecha de Ingreso: diciembre-2004
Ubicación: Chile
Mensajes: 191
Antigüedad: 19 años, 4 meses
Puntos: 0
Pregunta Error Invisible

buenas, recurro a ustedes porque ya no se que hacer con un error que esta pero no puedo verlo. Me explico, abajo publico el codigo que me causa problemas, comente las lineas que me acusan error, cuando las descomento la pagina no funciona, si las comento hace todo bien, el punto es que he probado haciendo de todo, hasta copie una de las lineas que si funciona y de todas maneras me arroja error...ya no se que hacer , y he perdido bastante tiempo con el tema, no se que vueltas mas darle, si alguno de ustedes logra detectar el problema se lo agardezco, ya que no es solo en estas lineas, tambien me pasa exactamente lo mismo unas lineas mas arriba...ayuda porfa

Código PHP:
if($mesb=='022007')//febrero
    
{
        echo 
"<tr bgcolor='#ffffff' align='center'><td></td><td></td><td></td>";if($dianumh==1){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=1&year=$anual' target='center'>1</a></td>";if($dianumh==2){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=2&year=$anual' target='center'>2</a></td>";if($dianumh==3){echo "<td bgcolor='#cbc029'>";}else{echo "<td bgcolor='#ccd7dc'>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=3&year=$anual' target='center'>3</a></td>";if($dianumh==4){echo "<td bgcolor='#cbc029'>";}else{echo "<td bgcolor='#ccd7dc'>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=4&year=$anual' target='center'>4</a></td></tr>";
        echo 
"<tr bgcolor='#ffffff' align='center'>";if($dianumh==5){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=5&year=$anual' target='center'>5</a></td>";if($dianumh==6){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=6&year=$anual' target='center'>6</a></td>";if($dianumh==7){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=7&year=$anual' target='center'>7</a></td>";if($dianumh==8){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=8&year=$anual' target='center'>8</a></td>";if($dianumh==9){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=9&year=$anual' target='center'>9</a></td>";if($dianumh==10){echo "<td bgcolor='#cbc029'>";}else{echo "<td bgcolor='#ccd7dc'>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=10&year=$anual' target='center'>10</a></td>";if($dianumh==11){echo "<td bgcolor='#cbc029'>";}else{echo "<td bgcolor='#ccd7dc'>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=11&year=$anual' target='center'>11</a></td></tr>";
        echo 
"<tr bgcolor='#ffffff' align='center'>";if($dianumh==12){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=12&year=$anual' target='center'>12</a></td>";if($dianumh==13){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=13&year=$anual' target='center'>13</a></td>";if($dianumh==14){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=14&year=$anual' target='center'>14</a></td>";if($dianumh==15){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=15&year=$anual' target='center'>15</a></td>";if($dianumh==16){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=16&year=$anual' target='center'>16</a></td>";if($dianumh==17){echo "<td bgcolor='#cbc029'>";}else{echo "<td bgcolor='#ccd7dc'>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=17&year=$anual' target='center'>17</a></td>";if($dianumh==18){echo "<td bgcolor='#cbc029'>";}else{echo "<td bgcolor='#ccd7dc'>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=18&year=$anual' target='center'>18</a></td></tr>";
        echo 
"<tr bgcolor='#ffffff' align='center'>";if($dianumh==19){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=19&year=$anual' target='center'>19</a></td>";if($dianumh==20){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=20&year=$anual' target='center'>20</a></td>";if($dianumh==21){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=21&year=$anual' target='center'>21</a></td>";if($dianumh==22){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=22&year=$anual' target='center'>22</a></td>";if($dianumh==23){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=23&year=$anual' target='center'>23</a></td>";if($dianumh==24){echo "<td bgcolor='#cbc029'>";}else{echo "<td bgcolor='#ccd7dc'>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=24&year=$anual' target='center'>24</a></td>";if($dianumh==25){echo "<td bgcolor='#cbc029'>";}else{echo "<td bgcolor='#ccd7dc'>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=25&year=$anual' target='center'>25</a></td></tr>";
        echo 
"<tr bgcolor='#ffffff' align='center'>";
        if(
$dianumh==26){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=26&year=$anual' target='center'>26</a></td>";
        
        [
COLOR="Red"]//if($dianumh==27){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=27&year=$anual' target='center'>27</a></td>";
        //if($dianumh==28){echo "<td bgcolor='#cbc029'>";}else{echo "<td>";}echo "<a href='calendariom.php?listado=1&mes=02&dia=28&year=$anual' target='center'>28</a></td>";[/COLOR]

        
        
echo "<td></td><td></td><td bgcolor='#ccd7dc'></td><td bgcolor='#ccd7dc'></td></tr>";
        echo 
"<tr bgcolor='#ffffff' align='center'><td></td><td></td><td></td><td></td><td></td><td bgcolor='#ccd7dc'></td><td bgcolor='#ccd7dc'><font class='fest' size='1'>&nbsp;</td></tr>";
    } 
no tengo idea que es lo que pasa pero he revisado minusiosamente cada punto, cada coma...no veo que es lo que pasa.
__________________
La vida da muchas vueltas...debe ser por eso que uno se marea.