foreachの間をカンマ[ , ]で区切る
◆配列 $array = array(‘a’,’b’,’c’ ); ◆php処理 <?php if ($array): ?> <?php $tmp = $array; ?> <?php foreach ($array as $value): ?> <?php echo $value; […]
WPなど案件構築覚書
◆配列 $array = array(‘a’,’b’,’c’ ); ◆php処理 <?php if ($array): ?> <?php $tmp = $array; ?> <?php foreach ($array as $value): ?> <?php echo $value; […]
li { display: -moz-inline-box; display: inline-block; *display: inline; *zoom: 1; } ul:before, li:after { content: " | "; color: #999; font-size: 11px; }