Posted By

cochambre on 06/30/06


php parse error xml String into attribute

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Prepara un string en PHP para ingresarlo como atributo en un XML

 / Published in: PHP

  1. function xmlattribute($value){
  2. return str_replace('&','&',str_replace('"','"',$value));
  3. }

Report this snippet  


RSS Icon Subscribe to comments
Posted By: class3 on January 3, 2008

look you

You need to login to post a comment.