tags:

views:

17

answers:

1

I want to insert a xml file as a string as a entry into mysql. However, because of the presence of special characters, I am not able to do.

Is there any function in PHP that converts the xml into a format compatible with mysql query.

Thanks

+2  A: 

mysql_real_escape_string();

Mchl
Thanks Mchl... It workd