Diff of /mambo/branches/4.6/includes/database.php
Parent Directory
|
Revision Log
|
Patch
| revision 297, Thu Feb 16 21:43:38 2006 UTC | revision 310, Tue Feb 21 14:02:46 2006 UTC | |
|---|---|---|
| # | Line 767 | Line 767 |
| 767 | } | } |
| 768 | $i = 1; | $i = 1; |
| 769 | foreach ($rows as $row) { | foreach ($rows as $row) { |
| 770 | $sql = "UPDATE $this->_tbl SET ordering=$i WHERE $k = ".$row->id; | $sql = "UPDATE $this->_tbl SET ordering=$i WHERE $k = ".$row->$k; |
| 771 | $this->_db->doSQL($sql); | $this->_db->doSQL($sql); |
| 772 | $i++; | $i++; |
| 773 | } | } |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

