Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 3 in /home/mascote/public_html/verrecuerdo.php on line 6
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 4 in /home/mascote/public_html/verrecuerdo.php on line 8
Código PHP:
Ver original<?php session_start();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><?php
include("conexion.php");
$idnegro = mysql_query('SELECT id FROM usuarios WHERE usuario = "'.$_SESSION['k_username'].'"',$db); $listanegra = mysql_query('SELECT bloquser FROM listanegra WHERE bloquser = "'.$id.'"',$db); if(!isset($_SESSION['k_username'])){ $negra = "a";
}
if($negra == $id){
header("location:bloqueo.php"); }
?>
Disculpa la tardanza, me puse a pelear con el codigo xD.
Son los result :S