<?
require("config2.php");
$dbverbindung = mysql_connect($server, $user, $password);
$dbanfrage = "SELECT * from cm_dl_links ORDER BY id";
$result = mysql_db_query ($dbname, $dbanfrage, $dbverbindung);
while ($ausgabe = mysql_fetch_array ($result)){
$id = $ausgabe[id];
$link = $ausgabe[link];
$infoid = $ausgabe[infoid];
$name = $ausgabe[name];
$size = $ausgabe[size];
$lastupdate = $ausgabe[lastupdate];
$tracker = $ausgabe[tracker];
$dbanfrage_up = "UPDATE cm_dl_info SET link = '$link', dlname = '$name', size = '$size', lastupdate = '$lastupdate', tracker = '$tracker' WHERE id = '$infoid'";
mysql_query($dbanfrage_upor die(mysql_error())
mysql_real_escape_string($link));
}
?>