Page 1 of 1

Warning: Unable to jump to row 0 on MySQL result index 2 in

Posted: Mon May 29, 2006 12:32 pm
by franknu
i wonder what this message means

the code is this

Code: Select all

<html>


<head>
  <title>Hello!</title>
</head>

<body>



<?

$host = "localhost";
$username = "localhost";
$password = "abc123";
$database = "contacts";

$db = mysql_connect($host, $username, $password);
mysql_select_db($database);

$result = mysql_query("SELECT * FROM `First Name:` WHERE `Position:`",$db) or die(mysql_error());

$myvar= "Hello World";
printf("$myvar");
$num_results = mysql_num_rows($result);

printf("Position: %s<br>\n", mysql_result($result,0,`Position:`));

?>

</body>
</html>

Posted: Mon May 29, 2006 12:41 pm
by hawleyjr
This is the third time you've posted this.

DO NOT POST MULTIPLE POSTS!!!


LOCKED

viewtopic.php?p=267355&highlight=#267355
viewtopic.php?t=49144