<?php

       if (isset($_REQUEST['submit'])) {
echo "<p> hello</p>";

$dbhost = 'localhost';
$dbuser = 'root';
$dbpass = 'shshsh11';

mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');

$dbname = 'Studentt';
mysql_select_db($dbname);
$result = mysql_query("SELECT * FROM `allele`");
print $result;



               

	   } else {

?>

       <html>

       <body>

       <form action="wcode.php" method=POST>

		<P><strong>Available Queries</strong><br>

		<INPUT TYPE="radio" NAME="Microsatellite Primers">Microsatellite Primers<br>
                <INPUT TYPE="radio" NAME="Maps">Maps for specified loci, possibly on a specified chromosome<br>
		<INPUT TYPE="radio" NAME="Common loci">Loci in common between two maps<br>
		<INPUT TYPE="radio" NAME="Loci">Loci on more than 4 maps<br>

               <P><P><P><input name=submit type=submit value=submit>

       </form>

       </body>

       </html>

<?php

       }

?>

it gives following result

hello
Resource id #3

what is Resource id #3
how do we solve it?
please help

Are you, by any chance, running php on a windows machine using something like EasyPHP?