htmlファイルでphpを動かすための.htaccessファイルの設定
.htaccessファイル内に以下の行を記述します。
AddType application/x-httpd-php .htm .html
当然の前提条件として、htaccessの動作が許可されているサーバに限ります。…
以下のように実行することで、配列内から空要素を削除することが出来ます。
//空要素を削除
$link_accept_list = array_merge(array_diff($link_accept_list, array(“”)));
graffiti on the web
この投稿へのコメント
コメントはまだありません。