mirror of
https://gitlab.com/harald.mueller/aktuelle.kurse.git
synced 2024-11-24 18:51:56 +01:00
20 lines
505 B
PHP
20 lines
505 B
PHP
|
<?php
|
||
|
# Quelle: http://www.schattenbaum.net/php/
|
||
|
# Erweiterungen von Olivia Adler
|
||
|
include("dbconnect.php");
|
||
|
$abfrage = "SELECT * FROM links";
|
||
|
$ergebnis = mysql_query($abfrage);
|
||
|
while ($row = mysql_fetch_array($ergebnis))
|
||
|
{
|
||
|
echo "<a href='".$row["url"]."'>";
|
||
|
echo $row["urlname"];
|
||
|
echo "</a>\n";
|
||
|
echo "<br>";
|
||
|
echo $row["beschreibung"];
|
||
|
echo " von ";
|
||
|
echo $row["name"];
|
||
|
echo "<br><br>";
|
||
|
}
|
||
|
mysql_free_result($ergebnis);
|
||
|
mysql_close($verbindung);
|
||
|
?>
|