以下のように実行することで、配列内から空要素を削除することが出来ます。
//空要素を削除
$link_accept_list = array_merge(array_diff($link_accept_list, array("")));
この投稿へのコメント
コメントを残す
ピックアップ記事
PHP 配列から空要素を削除する
2010年06月08日
過去Blog
/etc/hosts ファイルの変更を反映させる
2009年12月05日
過去Blog
hostsファイルの設定を変えた場合は、
# /etc/rc.d/init.d/network resatart
または、
# /etc/rc.d/init.d/network reload
で反映させる。
zencart フッター部のzencartサイトへのリンク、コピーライトの変更
2010年06月29日
過去Blog
includes/languages/japanese.php 内の「FOOTER_TEXT_BODY」を変更する。
その他、デフォルトで設定されている日本語の設定はこのファイル内の項目を修正する。 pure perfect green coffee contains 50% chlorogenic acid…
html、CSS テキストの自動折り返しを禁止する
2010年04月16日
過去Blog
<strong>white-space</strong>
normal 標準 (初期値)
nowrap 自動的な折り返しを禁止する prozac and alcohol…
Mapkit タップされたannotationのタイトルなど詳細を取得
2011年04月27日
過去Blog
- (void)mapView:(MKMapView*)mapView
annotationView:(MKAnnotationView*)view
calloutAccessoryControlTapped:(UIControl*)control
メソッドでタップされたannotationのタイトルなど詳細を取得
http://iphone-app-developer.seesaa.ne…
graffiti on the web
Nice site, nice and easy on the eyes and great content too.
Dear tax exemption, Esq.>
Thank you for your comment.
The thing that this site was read by the foreigner like you is very glad for me.
And, I am very surprised.
Thank you sincerely.