Jump to content
Larry Ullman's Book Forums

Ch2 - P50 A Line Missing In The Script 2.4(On The Book)


Recommended Posts

Larry,

 

There is one line missing here on the book(the downloaded code has it):

// If everything is OK, print the message:
if ($name && $email && $gender && $comments) {

	echo "<p>Thank you, <b>$name</b>, for the following comments:<br />
	<tt>$comments</tt></p>
	<p>We will reply to you at <i>$email</i>.</p>\n";
	
	echo $greeting;

echo $greeting;   is missing on the book(P50)

Link to comment
Share on other sites

 Share

×
×
  • Create New...