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
.htmlspecialchars($valor_campo)."\n"; just incase there is an & or a " in the data, and some XML parsers will throw an error saying that the XML file is not well formed. -Original Message- From: Octavio Herrera [mailto:[EMAIL PROTECTED]] Sent: Sunday, 26 January 2003 9:36

[PHP] converting a Recorset into an XML string

2003-01-25 Thread Octavio Herrera
Hello everybody, I make a function that lets you convert a recordset obtained via mysql_query() into an XML string: maybe could be helpfull to yours this is the function it have 3 parameters: $rs is the recordset you want to convert $padre is the name for the