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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -