Hi,
does anyone know of a good php validator online. I used one called bermi.org and put my code in and gave me an error but i don't know what line the error is occuring. Perhaps someone could help me out.
This is the code
tutors.php
<?php
/**
*
* INDEX - Tutor index
*
*
*/
require_once("../include/inc_global.php");
require_once(DOC__ROOT . "lang/en/generic.php");
require_once(DOC__ROOT . "lang/en/tutors/tutors.php");
check_user($_user, 'staff');
sadfasdfrasdf
// --------------------------------------------------------------------------------
// Begin Page
$UI->page_title = APP__NAME;
$UI->menu_selected = 'home';
$UI->breadcrumbs = array (
'home' => null ,
);
$UI->head();
$UI->body();
$UI->content_start();
echo '<p>' . WELCOME . '</p>';
echo '<p>' . SECTIONS__INTRO . '</p>';
?>
<table class="option_list" style="width: 500px;">
<tr>
<td><a href="forms/"><img src="../images/icons/form.gif" width="32" height="32" alt="<?php echo MY__FORMS; ?>" /></a></td>
<td>
<div class="option_list">
<div class="option_list_title"><a class="hidden" href="forms/"><?php echo MY__FORMS; ?></a></div>
<p><?php echo OPT__FORMS__DESC; ?></p>
</div>
</td>
</tr>
<tr>
<td><a href="groups/"><img src="../images/icons/groups.gif" width="32" height="32" alt="<?php echo MY__GROUPS; ?>" /></a></td>
<td>
<div class="option_list">
<div class="option_list_title"><a class="hidden" href="groups/"><?php echo MY__GROUPS; ?></a></div>
<p><?php echo OPT__GROUPS__DESC; ?></p>
</div>
</td>
</tr>
<tr>
<td><a href="assessments/"><img src="../images/icons/assessments.gif" width="32" height="32" alt="<?php echo MY__ASSESSMENTS; ?>" /></a></td>
<td>
<div class="option_list">
<div class="option_list_title"><a class="hidden" href="assessments/"><?php echo MY__ASSESSMENTS; ?></a></div>
<p><?php echo OPT__ASSESSMENTS__DESC ?></p>
</div>
</td>
</tr>
</table>
<h2><?php echo GETTING__STARTED__TITLE ; ?></h2>
<p><?php echo GETTING__STARTED__DESC ; ?></p>
<?php $UI->content_end();?>
This is the error it produced
Ooops! There are some errors on the XHTML page
* XHTML is not well-formed. not well-formed (invalid token) on line 39
Showing XHTML code
page_title = APP__NAME; $UI->menu_selected = 'home'; $UI->breadcrumbs = array ( 'home' => null , ); $UI->head(); $UI->body(); $UI->content_start(); echo '
' . WELCOME . '
'; echo '
' . SECTIONS__INTRO . '
'; ?>
<?php echo MY__FORMS; ?>
<?php echo MY__GROUPS; ?>
<?php echo MY__ASSESSMENTS; ?>
content_end();?>