C
Christopher R
Just beginning php.Why is xhtml validator saying, "end of line reached
before closing quote. Quoted strings can not span lines.?"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>Form Feedback</title>
</head>
<body>
<?php
# Script 2.2 - handle_form.php Tip Extension! Not in the book!
// $login substituted for $name
// relates to form.html
// breaks between the lines causes a parse error
echo "$login<p> Your email address is $email</p>";
echo "<p>$password</p>";
// end of line reached before closing quote. Quoted strings can not span
lines.
?>
</body>
</html>
before closing quote. Quoted strings can not span lines.?"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>Form Feedback</title>
</head>
<body>
<?php
# Script 2.2 - handle_form.php Tip Extension! Not in the book!
// $login substituted for $name
// relates to form.html
// breaks between the lines causes a parse error
echo "$login<p> Your email address is $email</p>";
echo "<p>$password</p>";
// end of line reached before closing quote. Quoted strings can not span
lines.
?>
</body>
</html>