Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $parentuser = $xml->getElementsByTagName('users')->item(0);
- $childuser = $parentuser->getElementsByTagName('username');
- $childpass = $parentuser->getElementsByTagName('password');
- for ($i=0; $i<$childuser->length; $i++)
- {
- $curruser->item(i) = $childuser->item(i)->firstChild->data;
- }
- $curruser->item(i) = $childuser->item(i)->firstChild->data;
Add Comment
Please, Sign In to add comment