今回RSSを取り出すのに使っていた「MagpieRSS」を以下のように使っていたのですが、
include ('rss_fetch.inc');
require_once 'code_table.ucs2jis';
require_once 'jcode.php';
繰り返し処理を行おうとしたところ、Fatal error: Cannot redeclare phpでのエラーとういうエラーが出…
$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.stristr.php
この投稿へのコメント
コメントはまだありません。