Racking my brains over the simplest question in the world

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • gene.ellis@gmail.com

    Racking my brains over the simplest question in the world

    Put simply I have an XML file such as:

    <page>
    <door>brown</door>
    <roof>pink</roof>
    </page>

    Using the DOM functions in PHP, how would I test to see if the the
    element <door> is empty? Thanks so much!

Working...