kusha
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by kusha
-
-
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
Parsing an Array
in PHP Coding Help
Posted
Hi Guruji,
Finally I got it
$finarr =($outputdata["@attributes"]);
print_r($finarr["WARRANTYCATEGORY"]);
Thanks for the answer.
Thanks and Regards,
Usha