$string = 'Hello World!';
if(stristr($string, 'earth') === FALSE) {
echo '"earth" not found in string';
}
// 出力は "earth" not found in string となります
参照元:http://www.php.net/manual/ja/function.st…
ピックアップ記事
PHP strstr stristr ある文字列が含まれるかどうか調べる
2010年06月11日
過去Blog
php フォームのPOST送信で配列を扱う場合
2010年04月15日
過去Blog
htmlのフォーム内のcheckboxなどで、配列を扱いたい場合は、以下のように name 属性に [] をつけます。これで配列として扱えます。
<input type="checkbox" name="item[]" value="">
<input type="checkbox" name="item[]" value="">
<input type="checkbox" n…
AVIファイルからSWF作成 MotionSWF
2010年10月07日
過去Blog
AVIからSWFファイルに変換する際に便利なソフト
MotionSWF
http://www.vector.co.jp/soft/dl/win95/art/se226046.html vps…
UITableView のcellの複数選択を実装する
2011年01月25日
過去Blog
//セルが選択された際に呼び出される
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
//選択されたセルを取得
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
/…
フォームの送信ボタンを画像にする
2010年04月16日
過去Blog
<input type="image" src="画像のURL" onClick="submit"/> best web hosting USA…
graffiti on the web
この投稿へのコメント
コメントはまだありません。