Hi,
I'm currently working out of the book, and the example in the book is as follows:
while ($row = mysql_fetch_array($result)) {
$movie_name = $row(['movie_name'];
$movie_director = $row['movie_director'];
$movie_leadactor = $row['movie_leadactor'];
$movie_details .=<<<EOD
<tr>
<td>$movie_name</td>
<td>$movie_director</td>
<td>$movie_leadactor</td>
</tr>
EOD;
}
I was just wondering. Why is it .<<<EOD. Like why the dot (.)
I mean according to the PHP Manual it should be:
$xpz = <<<EOD
But it isn't. Why the dot? I'm just trying to understand so that in the future I don't make mistakes with this.
NOTE = It isn't a typo from the book. It happens in two locations, further down the code aswell
Thanks