Jump to content

Parsing an Array


kusha

Recommended Posts

Hi,

Need help in parsing the . I am new to php and need to parsing and print only few elements in the arrary

I have an array as below:

 

Array ( [@attributes] => Array ( [WARRANTYCATEGORY] => Customer Warranty [NA_RATING] => [TAGCATEGORY1] => [TAGCATEGORY1DESC] => [TAGCATEGORY2] => [RESPONSEDATE] => 08-14-2006 04:40:40 PM [CASEID] => 1435435 [DUTYMANAGERAPPROVALTEXT] => [COUNTER] => 0 [DESCRIPTION] => SPRLSL:Cluster Notification  [NA_BUGNO] => [PRIORITY] => 3 [WARRANTYPRODUCT] => WARR36MTH_HW_DISK [NA_DISRUPTION_EVENT] => [sERIALNUMBER] => 123456789 [NADUPCASEID] => [DMGERAPPRL] => [sYSNAME] => REWSRAPP34 [DATECLOSED] => 08-17-2006 04:47:37 PM [CASE_STATUSTEXT] => Closed [NASUPPORTOFFERING] => ST [CREATEDBY] => ) )

 

 

I need to access only CASEI D, CASE_STATUSTEXT and DATECLOSED from the above array

 

How can I access that ?

 

Thanks and Regards,

Usha

Link to comment
https://forums.phpfreaks.com/topic/236892-parsing-an-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.