Extra tags being added to included PHP
-
A client has asked me to review her site at [ redundant link removed ]
It’s a strange set up with php files being included for the homepage design.
I have a problem on the Chambres link in that that the following code is brought in by a php file
<tr class="hdvroomrow"><td class="hdvroomc1"><a class="hdvtariflink" href="/chambresdhotes/provencal/"><p class="hdvpanelhdrfr">Chambre Provençal</p><p class="hdvpaneldescfr">Chambre double, donnant sur patio. SdB avec douche.</p></a></td><td class="hdvroomc2"><a onclick="showhide3(1,1); return false" href="#"><img class="hdvthumb" src="/resources/gallery/thumbnails/room1pic1.jpg" alt="r1t1" /></a><a onclick="showhide3(1,2); return false" href="#"><img class="hdvthumb" src="/resources/gallery/thumbnails/room1pic2.jpg" alt="r1t2" /></a><a onclick="showhide3(1,3); return false" href="#"><img class="hdvthumb" src="/resources/gallery/thumbnails/room1pic3.jpg" alt="r1t3" /></a></td></tr>
but when I inspect on the site extra <p> tags are added which throws out the centre panel formatting- a blank
<p></p>
is added after the first line <p><a class="hdvtariflink" href="/chambresdhotes/provencal/"></a></p>
is added before the first closed <\td>
I’ve tried a “remove P tag” plugin and “unprettying” the HTML in the php include but no luck
Any clues would be most welcome
Thanks in anticipation
KevinThe page I need help with: [log in to see the link]
- a blank
- The topic ‘Extra tags being added to included PHP’ is closed to new replies.