php - How to get the value from array -


here array i.e.,

i have given print_r($result); , given below

so output given below,

here can take fullname

by

echo $result['structuredxmlresume']['contactinfo']['personname']['fullname']; 

but while try take employerorg

i tried loop

i.e.,

foreach($result['structuredxmlresume']['employerorg'] $x){     echo $x['employerorgname'] . '<br />'; } 

but don't values

even tried print_r

$result['structuredxmlresume']['employerorg'][0]; 

and

$result['structuredxmlresume']['employerorg'] 

both returning empty.

how can ?

formatted array :

/1430714172resume.docxarray ( [resumeid] => array ( [@attributes] => array ( [resumeparserproductname] => recruitplus resume parser ) [resumeparserorgname] => itcons e-solutions private limited ) [structuredxmlresume] => array ( [contactinfo] => array ( [personname] => array ( [fullname] => debra allen [givenname] => debra [middlename] => array ( ) [familyname] => allen ) [contactmethod] => array ( [telephone] => array ( [phonebasic] => 617.405.4319 ) [mobile] => array ( [0] => array ( ) ) [fax] => array ( [0] => array ( ) ) [internetemailaddress] => array ( [0] => allen.debra3@gmail.com [1] => simplexmlelement object ( ) ) [postaladdress] => array ( [countryname] => array ( ) [region] => array ( ) [city] => array ( ) [postalcode] => array ( ) [deliveryaddress] => array ( [adressline1] => array ( ) [adressline2] => array ( ) ) ) ) ) [executivesummary] => array ( ) [objective] => array ( ) [role] => array ( ) [functionalarea] => array ( ) [industrytype] => array ( ) [employmenthistory] => array ( [totalexperience] => 20year( s ) & 10month( s ) [totalprojectexperience] => 19year( s ) & 10month( s ) [currentsalary] => array ( ) [expectedsalary] => array ( ) [employerorg] => array ( [0] => simplexmlelement object ( [employerorgname] => vantage travel [positionhistory] => simplexmlelement object ( [currentemplyor] => true [title] => traffic manager [orgname] => simplexmlelement object ( [orgname] => vantage travel ) [description] => vantage travel ( travel agency ) - boston, ma september 2014 - february 2015 traffic manager create , manage production schedule using quad/graphics plan system gather , interrupt requirements received business owners serve key liaison teams: brand management, creative, production, marketing , circulation ensure projects on time , accurate within agreed upon timeframe , communicate between departments enforce creative deadlines , work-flow processes communicate conflicts, delays or unusual situations parties; expedite , prioritize rush projects accordingly work closely creative team balance workloads, evaluate time-lines , make recommendations creative management , business owners run , manage traffic related reports welcome new projects , consider companywide implications departmental identify opportunities traffic department , manage guidelines , process documentation [startdate] => simplexmlelement object ( [anydate] => 9/1/2014 ) [enddate] => simplexmlelement object ( [anydate] => 2/1/2015 ) ) ) [1] => simplexmlelement object ( [employerorgname] => j. jill [positionhistory] => simplexmlelement object ( [currentemplyor] => false [title] => executive assistant 3 senior vice [orgname] => simplexmlelement object ( [orgname] => j. jill ) [description] => j. jill ( clothes/retail ) - quincy, ma february 2014 - may 2014 executive assistant 3 senior vice presidents heavy calendar management , travel arrangements, executing expense reports on time project work-updating excel spreadsheets, printing weekly reports high level meetings working hand-and-hand human resources onboarding new senior employees [startdate] => simplexmlelement object ( [anydate] => 2/1/2014 ) [enddate] => simplexmlelement object ( [anydate] => 5/1/2014 ) ) ) [2] => simplexmlelement object ( [employerorgname] => stavisseafoods, inc [positionhistory] => simplexmlelement object ( [currentemplyor] => false [title] => executive assistant [orgname] => simplexmlelement object ( [orgname] => stavisseafoods, inc ) [description] => stavisseafoods, inc. ( third generation family owned fish company ) - boston, ma july 2011-february 2014 executive assistant president , chief executive officer excellent time management skills, meeting coordination , advance calendar management domestic/international travel , executing expense reports on time provide agendas , take meeting minutes-distribute attendees drive action items create powerpoint presentations , excel worksheets, exceptional proofing skills event planning includes tradeshow experience, arrange company luncheons, manage employee milestone anniversaries interact board members, coordinate quarterly meetings excellent telephone manner, verbal &written communication skills oversee other administrative staff public relations personality: ability establish strong rapport top-level executives, co-workers , clients practice ultimate privacy in regard confidential information [startdate] => simplexmlelement object ( [anydate] => 7/1/2011 ) [enddate] => simplexmlelement object ( [anydate] => 2/1/2014 ) ) ) [3] => simplexmlelement object ( [employerorgname] => health dialog [positionhistory] => simplexmlelement object ( [currentemplyor] => false [title] => executive assistant [orgname] => simplexmlelement object ( [orgname] => health dialog ) [description] => health dialog ( healthcare ) - boston, ma october 2010 - march 2011 executive assistant vice president of market development manage complex calendar, including extensive travel arrangements-domestic/ international follow company travel policy, cost saving initiatives, , manage expense reports preparation off-site executive meetings/special events , powerpoint presentations [startdate] => simplexmlelement object ( [anydate] => 10/1/2010 ) [enddate] => simplexmlelement object ( [anydate] => 3/1/2011 ) ) ) [4] => simplexmlelement object ( [employerorgname] => new boston fund, inc [positionhistory] => simplexmlelement object ( [currentemplyor] => false [title] => executive assistant [orgname] => simplexmlelement object ( [orgname] => new boston fund, inc ) [description] => new boston fund, inc. ( real estate ) - boston, ma june 2005 - october 2010 executive assistant chief investment officer , acquisitions team coordinate heavy travel arrangements cio , team,manage expense reports heavy calendar management preparation annual investor meetings-advanced powerpoint presentation interface between departments [startdate] => simplexmlelement object ( [anydate] => 6/1/2005 ) [enddate] => simplexmlelement object ( [anydate] => 10/1/2010 ) ) ) [5] => simplexmlelement object ( [employerorgname] => mellon, private wealth management [positionhistory] => simplexmlelement object ( [currentemplyor] => false [title] => investment communications manager [orgname] => simplexmlelement object ( [orgname] => mellon, private wealth management ) [description] => mellon, private wealth management ( finance ) - boston, ma june 2000 - june 2005 investment communications manager develop , implement new intranet site investment communications department ( composite, mutual fund performance, aimr, , economic news ) posted site liaison between fixed income, equity, international , marketing departments disseminate internal information through different vehicles better communicate clients design powerpoint presentations on economy, asset classes , pwm\'s strategy better educate portfolio managers , present internal communication vehicles new hired officers manage internal weekly investment management call - coordinated speakers [startdate] => simplexmlelement object ( [anydate] => 6/1/2000 ) [enddate] => simplexmlelement object ( [anydate] => 6/1/2005 ) ) ) [6] => simplexmlelement object ( [employerorgname] => shuster laboratories, inc [positionhistory] => simplexmlelement object ( [currentemplyor] => false [title] => marketing manager [orgname] => simplexmlelement object ( [orgname] => shuster laboratories, inc ) [description] => shuster laboratories, inc. ( full service laboratory ) - quincy, ma june 1999 - june 2000 marketing manager develop , implement employee customer service reward system manage marketing materials, 1 page information sheets , brochures attend , manage aspects tradeshows [startdate] => simplexmlelement object ( [anydate] => 6/1/1999 ) [enddate] => simplexmlelement object ( [anydate] => 6/1/2000 ) ) ) [7] => simplexmlelement object ( [employerorgname] => dunkin donuts, corporate office [positionhistory] => simplexmlelement object ( [currentemplyor] => false [title] => retail concept integration/marketing , communications associated manager [orgname] => simplexmlelement object ( [orgname] => dunkin donuts, corporate office ) [description] => dunkin donuts, corporate office ( food/retail ) - randolph, ma july 1994 - may1999 retail concept integration/marketing , communications associated manager implement steps rollout intranet site serve editor , photographer various company publications design , implement retrofit tracking system tool new store remodels , installation of bagel ovens-trained employees how operate attend new store openings , worked marketing , operations rollout new store image; signage, messaging , rollout improved operating system [startdate] => simplexmlelement object ( [anydate] => 7/1/1994 ) [enddate] => simplexmlelement object ( [anydate] => 5/1/1999 ) ) ) ) ) [educationhistory] => array ( [schoolorinstitution] => array ( [0] => simplexmlelement object ( [@attributes] => array ( [schooltype] => college ) [school] => simplexmlelement object ( [schoolname] => emmanuel college ) [schoollocation] => boston [degree] => simplexmlelement object ( [@attributes] => array ( [degreetype] => graduate/ undergraduate ) [ishighestdegee] => true [degreename] => bachelor [degreedate] => simplexmlelement object ( [0] => simplexmlelement object ( ) ) [degreemajor] => simplexmlelement object ( [name] => science ) [educationdetails] => science [degreemeasure] => simplexmlelement object ( [educationmeasure] => simplexmlelement object ( [measuresystem] => simplexmlelement object ( ) [measurevalue] => simplexmlelement object ( [0] => simplexmlelement object ( ) ) ) ) [dateofattendance] => simplexmlelement object ( [startdate] => simplexmlelement object ( [0] => simplexmlelement object ( ) ) [enddate] => simplexmlelement object ( [0] => simplexmlelement object ( ) ) ) [educationdescription] => bsba, bachelor of sciences in business administration, emmanuel college, boston, ma ) ) [1] => simplexmlelement object ( [@attributes] => array ( [schooltype] => college ) [school] => simplexmlelement object ( [schoolname] => fisher college ) [schoollocation] => simplexmlelement object ( ) [degree] => simplexmlelement object ( [@attributes] => array ( [degreetype] => graduate/ undergraduate ) [ishighestdegee] => false [degreename] => simplexmlelement object ( ) [degreedate] => simplexmlelement object ( [anydate] => 1/1/2006 ) [degreemajor] => simplexmlelement object ( [name] => science ) [educationdetails] => science [degreemeasure] => simplexmlelement object ( [educationmeasure] => simplexmlelement object ( [measuresystem] => simplexmlelement object ( ) [measurevalue] => simplexmlelement object ( [0] => simplexmlelement object ( ) ) ) ) [dateofattendance] => simplexmlelement object ( [startdate] => simplexmlelement object ( [0] => simplexmlelement object ( ) ) [enddate] => simplexmlelement object ( [anydate] => 1/1/2006 ) ) [educationdescription] => aa, liberal arts, quincy college, quincy, ma fisher college, paralegal certificate dale carnegie, presentation training emergency medical services, emt - january 2006 ) ) ) ) [licensesandcertifications] => array ( [licenseorcertification] => array ( ) [name] => emt ) [qualifications] => array ( [competency] => array ( [0] => simplexmlelement object ( [@attributes] => array ( [name] => brand management ) [0] => simplexmlelement object ( ) ) [1] => simplexmlelement object ( [@attributes] => array ( [name] => marketing ) [lastuseddate] => 2/1/2015 ) [2] => simplexmlelement object ( [@attributes] => array ( [name] => circulation ) [lastuseddate] => 2/1/2015 ) [3] => simplexmlelement object ( [@attributes] => array ( [name] => retail ) [lastuseddate] => 5/1/2014 ) [4] => simplexmlelement object ( [@attributes] => array ( [name] => healthcare ) [0] => simplexmlelement object ( ) ) [5] => simplexmlelement object ( [@attributes] => array ( [name] => powerpoint ) [lastuseddate] => 2/1/2014 ) [6] => simplexmlelement object ( [@attributes] => array ( [name] => liaison ) [lastuseddate] => 6/1/2005 ) [7] => simplexmlelement object ( [@attributes] => array ( [name] => intranet ) [lastuseddate] => 5/1/1999 ) [8] => simplexmlelement object ( [@attributes] => array ( [name] => operations ) [lastuseddate] => 5/1/1999 ) ) ) [languages] => array ( ) ) [resumeadditionalitems] => array ( [resumeadditionalitem] => array ( [0] => simplexmlelement object ( [@attributes] => array ( [type] => personal ) [fathername] => simplexmlelement object ( ) [dateofbirth] => simplexmlelement object ( ) [age] => simplexmlelement object ( ) [gender] => unspecified [nationality] => simplexmlelement object ( ) [maritalstatus] => unspecified [passportno] => simplexmlelement object ( ) [visastatus] => simplexmlelement object ( ) [currentlocation] => boston ) [1] => simplexmlelement object ( [@attributes] => array ( [type] => resume parsing information ) [resumeparsingstartdate] => 4/29/2015 12:00:00 [resumeparsingexpirydate] => 5/5/2015 12:00:00 [numberofparsedresume] => 72 [maxlimitofparsedresume] => 100 ) ) ) [resumecontext] => candidate working working experience of 20year( s ) & 10month( s ) , skilled in brand management, marketing, circulation, retail, healthcare, powerpoint, liaison, intranet, operations. current salary: , expected salary: . candidate\'s functional area seems be: , industry ; located @ . candidate posses bachelor major science [resumetextformat] => array ( ) 

as can see missed employmenthistory level. should $result['structuredxmlresume']['employmenthistory']['employerorg'][0];


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -