Guest User

Untitled

a guest
Oct 30th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. $parentuser = $xml->getElementsByTagName('users')->item(0);
  2. $childuser = $parentuser->getElementsByTagName('username');
  3. $childpass = $parentuser->getElementsByTagName('password');
  4.  
  5. for ($i=0; $i<$childuser->length; $i++)
  6. {
  7. $curruser->item(i) = $childuser->item(i)->firstChild->data;
  8. }
  9.  
  10. $curruser->item(i) = $childuser->item(i)->firstChild->data;
Add Comment
Please, Sign In to add comment