Fresh set of eyes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am writing this script from my tutorial book.  Can someone take a 
look and let me know what i am not seeing that is giving me a parse 
error?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-
1" />
<title>Form Reader</title>
</head>
<html>
<body>
<h1>Form Reader</h1>
<h3>Here are the fields I found on the form</h3>
<?
	$field = $_REQUEST["field"];
	$value = $_REQUEST["value"];
	print <<<HERE
	<table border = 1>
	<tr>
		<th>
		<th>Field</th>
		<th>Value</th>
	</tr>
	HERE;

	foreach ($_REQUEST as $field => $value){
	print <<<HERE
	<tr>
		<td>$field</td>
		<td>$value</td>
	</tr>
	HERE;
	}
	print "</table>\n";
?>
</body>
</html>

Thanks all

David aka Big W





PHP Data object relational mapping generator
http://www.metastorage.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux