Commit da7f1aa6 authored by Joel Kuder's avatar Joel Kuder
Browse files

->readd refschleifen.php

-> Delete Thumbs datei
parent fa5bf5cb
<?php
head ("RefSchleifen-Pr&uuml;fung");
$sql1 = db_query ("SELECT uid,werber FROM vms_werberdaten");
$i = 0;
while ($row = mysql_fetch_object($sql1)) {
$sql2 = db_query ("SELECT * FROM vms_werberdaten WHERE uid = " . $row->werber . " AND werber=" . $row->uid);
if (mysql_num_rows ($sql2) >= 1) {
$i++;
echo 'F&uuml;r die UserId ' . $row->uid . ' existiert eine RefSchleife (Weber ' . $row->werber . ')!<br />';
}
}
if ($i == 0) {
echo 'Es sind keine RefSchleifen vorhanden!';
}
foot ();
echo '<br />';
?>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment