its driving me crazy and its only the first task

OK here isthe code I copied from the Article..

PHP Code:
<html>
<head>
<title>Our list of Jokes</title>
</head>

<body>

<?php

//connnect to the database server
$dbcnx = @mysql_connect("localhost""user""pass");

if (!
$dbcnx) {
    echo( 
"<p>Unable to connect to the " .
        
"database server at this time.</p>" );
    exit();

}

//select the jokes database
if (! @mysql_selct_db("db_name") ) {
    echo( 
"<p>Unable to connect to the " .
        
"Joke Database at this time.</p>" );
    exit();

}

?>


<p>Here are all the Jokes in our database: </p>

<blockquote>

<?php

//Request the text of all the jokes
$result mysql_query(
    
"SELECT JokeText from Jokes");
if (!
$result)  {
    echo(
"<p>Error performing query: " .
        
mysql_error() . "<p>");
    exit();
}

//Display the text of each joke in the paragraph 
While ( $row mysql_fetch_array($result) ) {
    echo(
"<p>" $row["JokeText"] . "<p>");

}

?>

</blockquote>

</body>

</html>


It bsaically gives me nothing and this in the view source

<html>
<head>
<title>Our list of Jokes</title>
</head>

<body>

So I think well I will copy the actual code straight from Kevins tutorial on the web and place my db cnx' on there..

The at least I get the follwing on the view source

<HTML><HEAD><TITLE> Our List of Jokes </TITLE><HEAD><BODY><P> Here are all the jokes in our database: </P><BLOCKQUOTE>
</BLOCKQUOTE></BODY></HTML>


Still not what I want I have 2 jokes in my db

can someone help