I can't find out where codes have mistakes.I'm happy if you find out mistakes.They have written to learn searching in a site.For this what can be do anyting?Thank you for help.
ariyor.html
<form action=ariyoruz .php method="POST">
aranacak kelime : <input type="text" name=ara size=10><br>
<input type="submit" name=gonder value="ara" size=10><br>
</form>
ariyoruz.php
<?
$arama=$_POST["ara"];
$b1=array("okul ","öğrenci","ki tap");
$b2=array("futb ol","basketbol" ,"voleybol") ;
$b3=array("resi m","müzik");
foreach($b1 as $kelime1)
{
while($kelime1= =$arama):
echo "<a href="b3 bölüm">b3</a>";
}
foreach($b2 as $kelime2)
{
while($kelime2= =$arama):
echo "<a href="b3 bölüm">b3</a>";
}
foreach($b3 as $kelime3)
{
while($kelime3= =$arama):
echo "<a href="b3 bölüm">b3</a>";
}
?>
ariyor.html
<form action=ariyoruz .php method="POST">
aranacak kelime : <input type="text" name=ara size=10><br>
<input type="submit" name=gonder value="ara" size=10><br>
</form>
ariyoruz.php
<?
$arama=$_POST["ara"];
$b1=array("okul ","öğrenci","ki tap");
$b2=array("futb ol","basketbol" ,"voleybol") ;
$b3=array("resi m","müzik");
foreach($b1 as $kelime1)
{
while($kelime1= =$arama):
echo "<a href="b3 bölüm">b3</a>";
}
foreach($b2 as $kelime2)
{
while($kelime2= =$arama):
echo "<a href="b3 bölüm">b3</a>";
}
foreach($b3 as $kelime3)
{
while($kelime3= =$arama):
echo "<a href="b3 bölüm">b3</a>";
}
?>
Comment