Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/07/2009, 12:50
tony34mlx
 
Fecha de Ingreso: marzo-2008
Mensajes: 43
Antigüedad: 16 años, 1 mes
Puntos: 0
ayuda con variable en url

hola.. fijense ke estoy haciendo un sistema de descargas... miren parte del codigo

Código PHP:
<?php
    
for($i=0;$i<count($ablogs);$i++){
        if(
$i%2==0){
            
$tdtype1 "<td class=\"blog1\"></td>";
            
$tdtype2 "<td class=\"blog2\"></td>";
        }
        else{
            
$tdtype1 "<td class=\"blog2\"></td>";
            
$tdtype2 "<td class=\"blog1\"></td>";
        }
        
?>
        <tr class="borderit1">
        <?php echo $tdtype1 ?>
        <td><div class="bheader"><a href="<?php $_SERVER['PHP_SELF'?>?post=<?php echo $ablogs[$i]['title']?>"><?php echo $ablogs[$i]['title']; ?></a></div></td>
            <?php echo $tdtype2 ?>
        </tr>
        <tr>
        <?php echo $tdtype1 ?>
        <td>
        <div class="bcontent">
        <?php echo returnImage($imgArray,$i?>
        <?php echo stripslashes($ablogs[$i]['content']); ?>
        </div>
        </td>
        <?php echo $tdtype2 ?>
        </tr>
        <tr class="borderit2">
        <?php echo $tdtype1 ?>
        <td><div class="bfooter"><a href="<?php $_SERVER['PHP_SELF'?>?post=<?php echo $ablogs[$i]['id']?>">directlink</a>&nbsp;|&nbsp;posted by <span class="othertext"><?php echo $params['user'?></span> on <span class="othertext"><?php echo strtolower(formatTime($ablogs[$i]['date'])); ?></span></div></td>
        <?php echo $tdtype2 ?>
        </tr>
        <tr>
        <td colspan="3"><br /><br /></td>
        </tr>
        <?php
pues bueno el lo ke me consentro es en esto.... miren
Código PHP:
        <td><div class="bheader"><a href="<?php $_SERVER['PHP_SELF'?>?post=<?php echo $ablogs[$i]['---------id---------']?>"><?php echo $ablogs[$i]['------title--------']; ?></a></div></td>
pues miren cuando le pongo al id por title..... si sale el nombre del post en la url pero no me muestra el titulo adentro del post.... ni me muestra el contenido del post.!!
les pido porfavor ke me ayudan. si no entendieron algo me dicen