probs validating with XHTML <br> and <img> from

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
AdRock
Posts: 19
Joined: Sun Aug 20, 2006 11:50 pm

probs validating with XHTML <br> and <img> from

Post by AdRock »

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

I have the guestbook working fine but i have come across a minor problem and i can't see anywhere in the code to sort this out

When i try validating my pages, i get loads of warnings that break tags and image tags aren't properly ended. I am using XHTML strict and the <br> and <img> tags are all missing the trailing / when the user submits their post.

Where in the code do i change so that breaks and images are ended properly?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Have you upgraded to 1.5 from a previous version of GBook? If yes you will need to manually change inside your entries.txt file:

- <br> to <br /> (use Notepad replace option)
- <img ...> to <img ... />
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply