Link to home
Start Free TrialLog in
Avatar of NewtonianB
NewtonianB

asked on

php xml get value of node

How can I get "bla" in the below dump of my node
Essentially bla is what is contained in my node
<mynode name="myvalueone" display="myvalue2">bla</mynode>

object(SimpleXMLElement)[21]
  public '@attributes' => 
    array
      'name' => string 'myvalueone' (length=65)
      'display' => string 'myvalue2' (length=9)
  string 'bla' (length=3)

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of ropenner
ropenner
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NewtonianB
NewtonianB

ASKER

thx