DB, XML and & sign

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone,

I read input from user, then via XML send it to DB.
thing is that when user enters "&" sign XML is no more well-formatted, what causes error. 
Does anyone has any suggestions on how to remove & sign from user input, considering that data entered by users can be multilingual, that is "ö" character is being converted to some unicode "ê" character which also contains "&" sign, but this one doesn't cause any problem - any other user entered "&" signs should be removed or should be translated to unicode & "&#033".

Your help will be appreciated.

Muhammed Mamedov

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux