PHP 配列から空白要素を削除する 2010年02月20日 過去Blog 配列 $array_exampleの要素のなかで、空白のものを削除。 $array_example = array_filter($array_example, ‘strlen’);
php MySQL 2つのテーブルを縦に並べて結合(union)し、結果を抽出する 2010年03月30日 過去Blog select c1,c2,c3 from A union all select c1,c2,c3 from B 参照元:http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1115439551 divorce lawyer san diego… この記事の続きを読む
iPhone UILabel 高さをテキストの量で決める 2011年04月30日 過去Blog http://www.hirano-dept.com/blog/2011/01/iphone-uilabel.html NSString *str = @"sample string"; CGSize size = [str sizeWithFont:[UIFont boldSystemFontOfSize:13] constrainedToSize:CGSizeMake(5… この記事の続きを読む
WordPressでログイン中のユーザーIDを取得 2011年05月16日 過去Blog Wordpressでログイン中のユーザーIDを取得 global $userdata; get_currentuserinfo(); echo $userdata->ID; migraine remedies… この記事の続きを読む
phpでwhois情報の取得 2009年12月26日 過去Blog Net_Whois::query() – whois 問い合わせを実行する pear install Net_Socket pear install Net_Whois もし、「WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update」 という警告が出る場合は、以下を実行して、pear.php.netをアップデートします。 # pear channel-update pear.php.net 私の場合は、警告は出ましたが、アップグレードしなくても pear install Net_Socket pear install Net_Whois のインストールは完了しました。 … この記事の続きを読む
この投稿へのコメント
コメントはまだありません。