
nkishorech
New User
May 5, 2009, 1:48 PM
Post #1 of 5
(7420 views)
|
Convert from String to Hash
|
Can't Post
|
|
How to convert from String to Hash and loop it and print it. $ssmb_request = ( 'request' => { 'acctno'=> 'XXXXXXX', 'prdtypcd'=> 'XXXXXXXX', 'sectyp' => 'XXXX' }, 'status' => { 'action_code' => '0', 'response_code' => '1000', 'errorInfo' => 'everything working fine' }, 'response' => { 'avlcash' => '278806.38', 'secdettbl' => { 'accttyp' => 'cash', 'accttyp_code' => '1', 'secfmtflg' => '', 'secfmtflg_code' => '1' } , }, ); Thankx in advance...
|