Re: [PHP] converting a Recorset into an XML string

2003-01-27 Thread Octavio Herrera
Sean, could you please send me how do you will do the function to convert a recordset into an XML string? Thank You OCTAVIO HERRERA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] converting a Recorset into an XML string

2003-01-27 Thread Octavio Herrera
Thank you Sean , your comment was useful for me, I was having that problem and what I was doing is changing every record in my database that have an & or ' on it Thank you again -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] converting a Recorset into an XML string

2003-01-25 Thread Sean Malloy
Personally, I would do it differently, but thats just me... However one modification I would suggest you make: The Line: $xml.="<".$nombre_campo.">".$valor_campo."\n"; would probably be better as this: $xml.="<".$nombre_campo.">".htmlspecialchars($valor_campo)."\n"; just incase there is an &