Changeset 9977 for trunk/inc/match.inc.php
- Timestamp:
- 04/06/09 05:42:46 (3 years ago)
- File:
-
- 1 edited
-
trunk/inc/match.inc.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/match.inc.php
r9972 r9977 15 15 16 16 // try to find in cache 17 $sQuery = "SELECT `Percent` FROM ` ProfilesMatch` WHERE `PID1` = $iPID1 AND `PID2` = $iPID2";17 $sQuery = "SELECT `Percent` FROM `sys_profiles_match` WHERE `PID1` = $iPID1 AND `PID2` = $iPID2"; 18 18 19 19 $aPercent = db_assoc_arr( $sQuery ); … … 33 33 34 34 //write to cache 35 $sQuery = "INSERT INTO ` ProfilesMatch` ( `PID1`, `PID2`, `Percent` ) VALUES ( $iPID1, $iPID2, $iMatch )";35 $sQuery = "INSERT INTO `sys_profiles_match` ( `PID1`, `PID2`, `Percent` ) VALUES ( $iPID1, $iPID2, $iMatch )"; 36 36 db_res( $sQuery ); 37 37 … … 44 44 return false; 45 45 46 $sQuery = "DELETE FROM ` ProfilesMatch` WHERE `PID1` = $iProfileID OR `PID2` = $iProfileID";46 $sQuery = "DELETE FROM `sys_profiles_match` WHERE `PID1` = $iProfileID OR `PID2` = $iProfileID"; 47 47 db_res( $sQuery ); 48 48 }
Note: See TracChangeset
for help on using the changeset viewer.