【PHP】下らねぇ質問はID出して書き込みやがれ 113
■ このスレッドは過去ログ倉庫に格納されています
0254nobodyさん
2011/12/11(日) 20:18:53.06ID:b3WuJveF<head>
<title>preg_match2.php</title>
</head>
<body>
<?php
$str = "WEB means a server system using world wide web technology."; //検索される文字列
$str1= "means"; //キーワードその1
$str2= "using"; //キーワードその2
preg_match(〜〜〜〜, $arr_str ); // キーワード1、2に挟まれた文字列を$arr_strに格納
print $arr_str[0]; // キーワード1、2に挟まれた文字列を出力
?>
</body>
</html>
こんな感じで書いてみました。
どなたか、〜〜〜〜の部分を考えてやって下さい、お願いします!
■ このスレッドは過去ログ倉庫に格納されています