Archive:PHP and MySQL Programming/XML and PHP: Difference between revisions

wikademia>Ralfe
wikademia>Quolo
m added "data_" to correct function name
Line 67: Line 67:


  <?
  <?
  xml_set_character_handler(XML_PARSER, CHARACTER_FUNCTION);
  xml_set_character_data_handler(XML_PARSER, CHARACTER_FUNCTION);
  ?>
  ?>


The two arguments accepted by the set_character_handler() function are :
The two arguments accepted by the set_character_data_handler() function are :


1. XML_PARSER - The variable that you created when you called the xml_parser_create() function.
1. XML_PARSER - The variable that you created when you called the xml_parser_create() function.