This block of code generates parse error in line with echo.

// Display the text of each joke in a paragraph
while ( $row = mysql_fetch_array($result) ) {
echo("<P>".$row['ID']." ".$row['JokeText']."</P>");
$jokeid = $row["ID"];
$joketext = $row["JokeText"];
echo("<a href='$PHP_SELF?deletejoke=$jokeid'>". "Delete Joke</a>");

I've managed to correct the mistakes and then it worked. There is something wrong with these dots . in the code. I know what's wrong in this case, but I don't know what these dots stand for and how to use them. Could some1 explain that?