I’ve just read one tutorial from tutorial of kirupa and I couldn’t understand part of the code.
The source code of that tutorial can be download here: http://www.kirupa.com/web/code/xml_intermediate.zip
Here is the link to that tutorial: http://www.kirupa.com/web/xml_php_parse_intermediate.htm (including original XML code)
Now is the main question, I do not understand this part of code:
$xml_headline_key = "*NEWS*STORY*HEADLINE";
$xml_description_key = "*NEWS*STORY*DESCRIPTION";
1/Why he make NEWS, STORY HEADLINE uppercase? What is it used for? I tried turning this to lowercase and it not work. It only work if in uppercase.
When you open the tutorial from the link I gave, in the XML code, the tag <news> <story> are in lowercase, so why here it has to be in uppercase
2/What is the symbok * used for in the code of "$data" or in the code of NEWSSTORY*HEADLINE?
Thank you very much