Preface: I am learning PHP from a book with a cd-rom included.
Here is the code from Example 4.15.php --
Code:
<?php
$age = 26;
$old = &$age; // This is a valid assignment.
$old = &(26 + 7); // Invalid; references an unnamed expression.
?> I understand what it is trying to show, but most of the Examples at least *process* on my local Apache 2.2 / PHP 5.2.3 server, and I would expect an Error Message. What I
do get is that both IE7 and Firefox display a blank page. Firefox even shows no page source, which I expect since the server processes and (effectively) hides the PHP code, but the fluke is THIS:
IE7 displays this (r-click - View Source) --
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
So WHERE did THAT come from??? Does IE *self-generate* HTML code???
signed, a perplexed and baffled Jim L.