LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-30-2005, 09:31 PM   #1
DropHit
Member
 
Registered: Oct 2003
Posts: 95

Rep: Reputation: 15
Array help


I need php help with an array i have it looks like this below:

Code:
Array ( [STLTRANSACTIONINFO] => Array ( [TRANSACTIONTYPE] => 100 [STLTRANSACTIONID] => 1359622498 [EXTTRANSACTIONID] => [USERID] => 889912 [PASSWORD] => 852963 [STOREID] => 57299350001 [MESSAGENUMBER] => [MESSAGEDESC] => [STLTRANSACTIONDATE] => ) [STLTRANSACTIONDATA] => Array ( [APR] => 842.31 [APPLICATIONID] => 4689901 [SSN] => 111111111 [APPROVEDAMOUNT] => 300.0000 [LOANSTATUS] => G [APPSTATUS] => A [DENIALREASONS] => [SUCCESS] => 1 [MESSAGE] => [APPLICATIONURL] => http://www.urlhere.com ) )

//this above is the result of an unserialize command like this:


// UnSerialize the data structure 
$status = $Unserializer->unserialize($body); 

// Check whether un-serialization worked 
if (PEAR::isError($status)) { 
   die($status->getMessage()); 
} 

// Display the PHP data structure 
//print_r($Unserializer->getUnserializedData()); 

$results = ($Unserializer->getUnserializedData());
session_register ("results");
This appears to be mutil-dimensional to me, i simply want to do 2 things:

Break it into individual vars
Then insert into mysql, that part i can do its the explode part i can not get to work

Z
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
array c++ harrylee2003 Programming 3 10-14-2005 05:04 PM
c++ array init help esrrms Programming 5 05-16-2005 07:06 PM
PERL: Size of an array of an Array inspleak Programming 2 03-10-2004 02:24 PM
Array Question? Gerardoj Programming 4 10-02-2003 12:21 AM
2-D Array clowns119 Programming 10 09-24-2003 10:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration