Salve non riesco a far funzionare questo cerca spero che qualcuno mi aiuti a capire dove è lerrore il codice mi da sempre non trovato qui di sequito inserisco il codice:
codice:if ($_POST['search']){ if (!empty($_POST['keywords'])) { $searchStr = $_POST['keywords']; print "<p class=\"whiteTxt\">Matches for \"$searchStr\"</p> "; $keys = explode(" ", $searchStr); for ($x = 0; $x < count($keys); $x++) { $querystr = "SELECT * FROM articoli WHERE (((keywords = $titolo) OR (keywords = $contenuto)))"; $result = mysql_query("select * from articoli where sezid=$sezid "); if ($frow = mysql_fetch_array($result)) { $found = true; while(list($artid, $sezid, $titolo, $contenuto, $image, $image1, $oggi) = mysql_fetch_array($querystr)) { $result2 = mysql_query("select sezname from sezioni where sezid=$sezid "); list($sezname) = mysql_fetch_row($result2); echo "<tr><td valign=top width=15%>"; if ($image != ($path."vuoto.gif")){ if ($image1 != ($path."vuoto.gif")){ echo "<a href=\"$image1\"><img src=\"$image\" width=142 border=0></a></td></tr>"; } else{ echo"<img src=\"$image\" border=0><td></tr>"; } } echo "<tr><td class=tit width=85% valign=top> Comunicato del $oggi Italian time</td></tr>"; echo "<tr><td class=tit width=85% valign=top> $titolo</td></tr>"; echo "<tr><td align=right><a href=\"$image1\"><font size=2 face=Humanst521 BT><img border=0 src=../360-2/images/biglia.jpg width=13 height=11></font></a>[/b]"; echo "<font face=Humanst521 BT size=2><a href=\"$image1\"> Scarica il file PDF</a></font>"; echo "<font size=2 face=Humanst521 BT><img border=0 src=../360-2/images/biglia.jpg width=13 height=11></font>"; echo "<font face=Humanst521 BT size=2><a href=\"mailto:?subject=Segnalazione sito web&body= Ciao, penso che questo sito possa interessarti. L'URL è: http://www.movelogistics.it/it/index.htm\">Invia pagina ad un amico</A></font></td></tr>"; } } } if (!$found) { print("<p class=\"whiteTxt\">$titolo non trovato "); } else { print("<p class=\"whiteTxt\">Non c'è la parola che cerchi</p>"); } } else { print("<p class=\"whiteTxt\">Devi inserire una parola</p>"); } }

Rispondi quotando