salut a tous!!!!
voila, je récuoere des donnée de ma base mysql que je met dns un tableau... ca c'est ok
mais je voudrais que dans ma derniere colonne, ce soit un lien hypertext!!!
savez vous comment je peux faire?
Merki par avance
<table>
<tbody>
<tr>
<td>DATE</td>
<td>CATEGORIE</td>
<td>INTITULE</td>
</tr>
<?php $db = mysql_connect("localhost","root","marsterre2004");
mysql_select_db("cif",$db);
$sql="SELECT * FROM plan where categorie='bon plan'";
$res=mysql_query($sql, $db);
while ($ligne = mysql_fetch_object ($res))
{
print "<tr>";
print "<td>$ligne->date</td>";
print "<td>$ligne->categorie</td>";
print "<td><a href="toto.html">$ligne->intitule</a></td>";
print "</tr>";
}
mysql_free_result ($res);
?>
</tbody>
</table>