Commit fa5bf5cb authored by Joel Kuder's avatar Joel Kuder

lowercase refschleifen.php

parent dbc1cd7b
<?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
Markdown is supported
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