Return to Snippet

Revision: 137
at July 12, 2006 11:51 by cochambre


Updated Code
function xmlattribute($value){
	return str_replace('&','&',str_replace('"','"',$value));
}

Revision: 136
at June 30, 2006 13:45 by cochambre


Initial Code
function xmlattribute($value){
	return str_replace('&','&',str_replace('"','"',$value));
}

Initial URL

                                

Initial Description

                                

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

Initial Tags
php, error, xml

Initial Language
PHP