validation not showing
The main page that this is included in is barebones: recipe.php
<?php
session_start();//starts the session cookie
?>
<?php
include("mylibrary/showrecipe.php");
?><!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=UTF-8" />
<title>Recipe</title>
<link href="kshotz.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
<div id="header">
<?php include("header.include.php");
?>
</div>
<div id="nav">
<div align="center"><?php include('navbar.include.php'); ?></div>
</div>
<div id="leftsidebar"><?php include('recipenav.include.php'); ?>
</div>
<div id="main">
<div class ="content"><?php if (!isset($_REQUEST['content'])) include("mainrecipe.inc.php");
else
{
$content = $_REQUEST['content'];
$nextpage = $content . ".inc.php"; include($nextpage);
}
?>
</div>
<div class="rightsidebar">
<div class="lastview">
<?php include("lastview.inc.php");
?>
</div>
</div>
</div>
<div id="footer">
<?php include("footer.include.php");
?>
</div></div>
</body>
</html>
There is a page that shows specific recipes and it does have an addcomment, that links to the addcomment.inc.php include. addcomment.inc.php and newrecipe.inc.php are included into recipe.php. Would this make a difference?
Also, changed the document forms to 1 and still does not work.