开发者

Print value of an array php

I have an array with value

Array (
    [und] => Array (
        [0] => Array (
            [value] =>
Drupal Development
PHP
CSS
MySql
Photoshop
Illustrator
InDesign
             [format] =>
             [safe_value] => <li class="drupal">Drupal Development</li> <li class="php">PHP</li> <li class="css">CSS</li> <li class="mysql">MySql</li> <li class="ps">Photoshop<开发者_如何学编程/li> <li class="il">Illustrator</li> <li class="in">InDesign</li>
         )
     )
 ) 

the array is $node->field_spec How can i get to print the value and safe value? I am not able to get it.


$safe_value = $node->field_spec['und'][0]['safe_value']

See arrays

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜