Verzeichnis für Links organisiert durch Tags.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
741 B

include ('link_lib.php');
$db = new dbLinkHAndler();
<form action="index.php" method="post">
Name: <input type="text" name="linkName"> URL: <input type="text" name="linkUrl"> <input type="Submit" value="Speichern">
if ($_POST["linkName"] != "" AND $_POST["linkUrl"] != "")
$link1=new Link($_POST["linkName"], $_POST["linkUrl"]);
foreach ($db->getListReverse() as $link)
echo '<a href="link.php?url='.$link['link_url'].'">'.$link['link_name'].'</a> - <a href="'.$link['link_url'].'" target="_blank">'.$link['link_url'].'</a><br>';