Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $edit1 = mysql_query("SELECT * FROM torrents WHERE id = $id");
- $edit1Stores = array();
- while ($edit1Store = mysql_fetch_assoc($edit1)) {
- $edit1Stores[] = $edit1Store;
- }
- //SOME STUFF*****************************
- $edit2 = mysql_query("SELECT * FROM torrents WHERE id = $id");
- $edit2Stores = array();
- while ($edit2Store = mysql_fetch_assoc($edit2)) {
- $edit2Stores[] = $edit2Store;
- }
- do {
- if $edit1Stores[0] != $edit2Stores[0]{
- $TotalEditPoints = $TotalEditPoints + $EditPointsDescription;
- $LogMessage = $LogMessage . " Changed ". $edit1Stores[0]. " to ". $edit2Stores[0].". /n"
- }
- if $edit1Stores[1] != $edit2Stores[1]{
- $TotalEditPoints = $TotalEditPoints + $EditPointsCatagorie;
- $LogMessage = $LogMessage . " Changed ". $edit1Stores[1]. " to ". $edit2Stores[1].". /n"
- }
- } while {???};
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement