<h1>Score and Prize</h1>
<table border="1">
<tr>
<th bgcolor="skyblue">SCORE</th>
<th bgcolor="skyblue">PRIZE</th>
</tr>
<?php
$num = 1;
while ($num <= 5){
echo "<tr>
<td>".$num * 50 . "</td>
<td>". $num * 1000 . "</td>
</tr>";
$num++;
}
?>
This is a loop to make a table. In the php code, I found out that
<td>".$num * 50 . "</td>
This is working, but
<td>".$num * 50. "</td>
This is not working. And only difference is a space between number '50' and '.'. Why is this happening?