开发者

Print value of an array php

开发者 https://www.devze.com 2023-04-06 03:51 出处:网络
I have an array with value Array ( [und] => Array ( [0] => Array ( [value] => Drupal Development 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

精彩评论

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