Zendcasts Forum

A community of developers who work with the Zend Framework and other enterprise PHP technologies

You are not logged in.

#1 2010-06-21 13:14:02

alessio
Member
Registered: 2009-08-07
Posts: 27

object manipulator

i have a array :

["CountryNameCode"] => object(SimpleXMLElement)#98 (1) {
    [0] => string(2) "ES"

how do I extract only the value ES

Thanks

Offline

#2 2010-06-22 11:45:30

Talv
Member
Registered: 2009-08-06
Posts: 10

Re: object manipulator

$x = (string) $array->0;

smile

Offline

#3 2011-02-22 12:59:16

Chieftain
New member
Registered: 2011-02-22
Posts: 2
Website

Re: object manipulator

how i can fixed the excel object manipulation causes run-time error....give me code...???

Offline

Board footer

Powered by FluxBB