PHP Indonesia - Facebook | PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ | |
 | Earn an MBA degree
Advance your career with an MBA Only $325 per credit hour  | From our sponsors | | |
[ASK] gimana cara mendapatkan value dari array. sa... Nov 11th 2013, 11:08, by Andik Kurniawan | [ASK] gimana cara mendapatkan value dari array. saya mencoba mengedit script php untuk kebutuhan personal.
dimana script saya kurang lebih : foreach($feed->entries as $entry) { $blog = $entry->link; $blogs = $blog[1]; var_dump($blogs); }
resultnya : object(Zend_Gdata_App_Extension_Link)#65 (13) { ["_rootElement":protected]=> string(4) "link" ["_href":protected]=> string(30) "http://samplesamplesample.com/" ["_rel":protected]=> string(9) "alternate" ["_type":protected]=> string(9) "text/html" ["_hrefLang":protected]=> NULL ["_title":protected]=> NULL ["_length":protected]=> NULL ["_rootNamespace":protected]=> string(4) "atom" ["_rootNamespaceURI":protected]=> NULL ["_extensionElements":protected]=> array(0) { } ["_extensionAttributes":protected]=> array(0) { } ["_text":protected]=> NULL ["_namespaces":protected]=> array(2) { ["atom"]=> array(1) { [1]=> array(1) { [0]=> string(27) "http://www.w3.org/2005/Atom" } } ["app"]=> array(2) { [1]=> array(1) { [0]=> string(25) "http://purl.org/atom/app#" } [2]=> array(1) { [0]=> string(26) "http://www.w3.org/2007/app" } } } }
bagaimana saya mendapatkan value http://samplesamplesample.com/ mohon pencerahanya. thanks | | |
|
Tidak ada komentar:
Posting Komentar