iii dziala a zarazem nie dziala:
na stronie:
http://infoparty.pl/this.php - dziala
http://infoparty.pl/tracklist.php - nie dziala
wpiszcie np armin
mimo ze w obu miejscach kod jest praktycznie taki sam ( roznia sie tylko glowne ify z $c na $_POST ):
<? if(!$c) { ?> <form action="this.php?c=1" method=POST> <b>Find Results with: </b><br> Any of these words: <input type="text" length=40 name="any"> <br> All of these words: <input type="text" length=40 name="all"> <br> None of these words: <input type="text" length=40 name="none"> <br> <input type="submit" value="Search"> </form> <? } else if($c) { include("include/config.php"); if((!$all) || ($all == "")) { $all = ""; } else { $all = "+(".$all.")"; } if((!$any) || ($any == "")) { $any = ""; } if((!$none) || ($none == "")) { $none = ""; } else { $none = "-(".$none.")"; } $query = " SELECT *, MATCH(`nazwa`) AGAINST ('$all $none $any' IN BOOLEAN MODE) AS `score` FROM `tracklisty` WHERE MATCH(`nazwa`) AGAINST ('$all $none $any' IN BOOLEAN MODE) ORDER BY `score` DESC"; if(!$artm1) { } $val = $val*10; } } else { } } ?>
help? :-)