Click here to Skip to main content
15,891,409 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have an xml file

XML
<?xml version="1.0"?>
  <user>
    <user_name>abc</user_name>
    <is_active>0</is_active>
 </user>



Now i want to check that weather the user is active or not from user name. How to get out of this? How to check in xml file for perticular username and then after user is acive or not? Can any one help me out?
Thanks in advance.
Posted

1 solution

Use XML parser: http://php.net/manual/en/book.xml.php[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900