source:
administrace/upravy/listmessage.php@
5
Last change on this file since 5 was 5, checked in by , 18 years ago | |
---|---|
File size: 420 bytes |
Line | |
---|---|
1 | <?php |
2 | |
3 | include '..\SubFiles\DatabaseConection.php'; |
4 | $Database2 = new Database('localhost','root',''); // dodìlat IP |
5 | $Database2->SelectDatabase('wow'); |
6 | |
7 | $ID = $Database2->SQLCommand("SELECT * FROM newgm"); |
8 | |
9 | $i = 0; |
10 | while ($Line = mysql_fetch_row($ID)) { |
11 | |
12 | $Database2->SQLCommand("UPDATE newgm set ID='$i' Where nick = '$Line[1]' and icq = '$Line[3]'"); |
13 | ++$i; |
14 | } |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | ?> |
Note:
See TracBrowser
for help on using the repository browser.