hej, ma ktoś może gotowy skrypt który jeśli najade na link to podswietla cała linie
np mam :
imie nazwisko data adres itd..
i jeśli teraz najade na nazwisko bądzi imie czy cokolwiek to podświetli całą linie ?
<?$query = "select odbiorca from faktura order by id desc LIMIT 100"; for ($i=0; $i <$num_results; $i++) { echo '<a href="pokaz_dane_kontrahent.php?kontrahent='.$row["odbiorca"].'">'.$row["odbiorca"].'</a>'; } ?>
<td width="4%" height="13"> <?$query = "select id from faktura order by id desc LIMIT 100"; $result = mysql_query($query); $num_results = mysql_num_rows($result); for ($i=0; $i <$num_results; $i++) { $row = mysql_fetch_array($result); echo '<a href="pokaz_dane.php?id_faktury='.$row["id"].'" >'.$row["id"].'</a>'; print "<br> "; } ?> </td>
<style type="text/css"> table, a { font: normal 12px Verdana, Arial, Helvetica, sans-serif; text-decoration: none; } a: hover{ text-decoration: underline; } tr { backrgound: #efefef; } tr:hover { background: #cdcdcd; } </style> <table> <? $strQuery = 'SELECT id FROM faktura ORDER BY id DESC LIMIT 100'; { } ?> </table>