Warning: Unable to jump to row 0 on MySQL result index 2 in
Posted: Mon May 29, 2006 12:32 pm
i wonder what this message means
the code is this
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>