Trying to find unclosed <div>

I was trying to figure out why my page wont validate
and am having trouble finding em, how do i"?

Usually if your html code is properly indented, you should be able to match up the pairs of tags and figure out which ones don’t have closing tags.


As it’s a PHP page, it may be easier to work out wha’s going on if you were to post the code from that in here. It looks like the section generating the form should be sufficient.

The form input statements are not closed.

Either use this /> to close or add this </input>

The validation page has a checkbox to Show Source.

Hi there lurtnowski,

on lines #62 to #64 of your “add_rental.php” file, you have this…


…change it to this…



1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.