Ver Mensaje Individual
  #3 (permalink)  
Antiguo 20/10/2013, 11:59
OsquiB
 
Fecha de Ingreso: junio-2013
Ubicación: Mar del Plata
Mensajes: 122
Antigüedad: 10 años, 10 meses
Puntos: 0
Respuesta: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL resul

Gracias por contestar, asi estaria bien ?

Código PHP:
<?php 
include_once('mysql.php'); 



$query "SELECT * FROM post WHERE usuario ='".$_SESSION['usuario_t']."';"
$resultado mysql_query($db_link,$query);
while(
$fila mysql_fetch_array($resultado)){ 
    echo 

    <article> 
        <div id='logov2b'></div> 
        <time>"
.$fila['ano']."-".$fila['mes']."-".$fila['dia']."</time> 
        <h3>"
.$fila['titulo']."</h3> 
        <h4>"
.$fila['subtitulo']."</h4> 
        <p>"
.$fila['texto']."</p> 
    </article> 
    "


mysql_close($db_link); 
?>