mirror of
https://gitlab.com/harald.mueller/aktuelle.kurse.git
synced 2024-11-30 21:51:56 +01:00
17 lines
469 B
PHP
17 lines
469 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_object($ergebnis))
|
||
|
{
|
||
|
echo "<a href='$row->url'>";
|
||
|
echo $row->urlname;
|
||
|
echo "</a>\n";
|
||
|
echo "<br>";
|
||
|
echo $row->beschreibung ." von ". $row->name ."<br><br>";
|
||
|
}
|
||
|
mysql_free_result($ergebnis);
|
||
|
mysql_close($verbindung);
|
||
|
?>
|