$consulta = "select * from entradas where id='".$postid."'"; echo "<pre>$consulta</pre>"; $resulta1=mysql_query($consulta,$conexion);