html - PHP stop closing tag being automatically added -


When I add strings to the array in PHP and output,

  $ spinere [$ I] = "itemf idref = 'part-$ i' linear = 'yes' / & gt;";  

It looks like when the outputted closing tag is automatically added and can I stop it? Thank you.

  & lt; Itemref idref = 'part-$ i' linear = 'yes' & gt; & Lt; / Itemref>  

Are you using firebug to view HTML? Firebugs automatically add missing tags, make sure that you see the HTML with the "view source" feature of the browser

Edit: This makes it clear to the recipient if you use the code described above , I'm sure you will not see the tag.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -