PHP 配列から空白要素を削除する 2010年02月20日 過去Blog 配列 $array_exampleの要素のなかで、空白のものを削除。 $array_example = array_filter($array_example, ‘strlen’);
PHP 配列の結合 2010年05月20日 過去Blog $array3 = array_merge($array1,$array2); a complete guide to the acai berry diet… この記事の続きを読む
外部のサイトから画像をサーバに取得(コピー) 2009年12月06日 過去Blog $img_path // 取得する画像のパス(URL) $path = "ここは保存先のパス"; // /home/ドメイン/public_html/imagesなど $img = file_get_contents($img_path) ;//画像を取得 $fullpath = $path.basename($img_path);//画像の保存フルパス file_put_conten… この記事の続きを読む
モーダルビューとは? 2011年01月13日 過去Blog モーダルビューとは、一時的なビューのことで、animated : Yes にすると、下の方からニョロっと出てきます。 [self presentModalViewController:picker animated:YES];
mySQL上で登録された内容に一致する文字列を置き換え 2009年12月25日 過去Blog 以下のようにSQLを実行することで該当箇所が置き換えされます。 phpのstr_replaceのような感じ。 UPDATE `テーブル名` SET フィールド名 =REPLACE (フィールド名,"置き換え前文字列","置き換え後文字列"); limo service san diego… この記事の続きを読む
この投稿へのコメント
コメントはまだありません。