$example_array= array( "green", "red", "green", "blue", "red");
phpで上記のような配列から、重複要素を削除するには
$example_array = array_unique($example_array);
とすることで重複要素は削除されます。
…
ピックアップ記事
php 配列の要素から重複を削除し、添え字を再配布する
2009年12月07日
過去Blog
addressbook内のデータをtableViewに表示させる
2011年01月17日
過去Blog
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView
dequeueReusab…
iPhone CoreLocation で位置情報、方位情報の取得
2011年04月28日
過去Blog
http://www.bright-sys.co.jp/blog/iphone-corelocation-1/
http://www.bright-sys.co.jp/blog/iphone-corelocation-2/ divorce lawyers san diego…
PHPでサイトのタイトルを取得
2010年03月30日
過去Blog
参照元:http://creazy.net/2008/05/php_get_page_title_sample.html how to cure depression…
テーブルの背景を設定する
2010年12月14日
過去Blog
iPhoneアプリに設置されているテーブルの背景色を変更する方法です。
//テーブルの背景色
self.view.backgroundColor = [UIColor groupTableViewBackgroundColor];
文字列の設定と同様に、以下のような記述も可能です。
self.view.backgroundColor = [UIColor colorWithRed:0.0 gre…
graffiti on the web
この投稿へのコメント
コメントはまだありません。