Bonjour,
Je souhaiterai afficher des informations sur une page HTML et notamment des liens hypertext.
J'utilise le programme php suivant
<?php
$con = mysql_connect("localhost","root","mysql");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("db_myproject", $con);
$result = mysql_query("SELECT Placename, Description, website_link FROM placetovisit");
echo "<table border='1'>
<tr>
<th>Placename</th>
<th>Description</th>
<th>Website_link</th>
</tr>";
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['Placename'] . "</td>";
echo "<td>" . $row['Description'] . "</td>";
echo "<td>" . $row['Website_link'] . "</td>";
echo "</tr>";
}
echo "</table>";
mysql_close($con);
?>
Mais j'obtiens un resultat partiel, le colonne website_link reste vide.
Merci pour votre aide
Configuration: Windows Vista Internet Explorer 7.0