Jump to content

[SOLVED] Validation Error


timmah1

Recommended Posts

When I try and validate my contact page, I get two errors on lines 242 and 244

Line 242, Column 23: end tag for "tr" which is not finished

Line 244, Column 23: end tag for "tr" which is not finished

 

Here is the code

<?php
Line 242---> $message = "<table width='60%' border='0' cellspacing='0' cellpadding='6' class='main' align='left' bgcolor='#999999'>
<tr>
Line 244---> <td><strong>Name:</strong></td>
<td>{$name}</td>
</tr>
<tr>
<td><strong>Email:</strong></td>
<td>{$emailSend}</td>
</tr>
<tr>
<td colspan='2'>{$comment}</td>
</tr>
</table>";
?>

 

Can anybody see why that would be?

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/160914-solved-validation-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.