Changeset 69
- Timestamp:
- 11/10/06 01:37:18 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/class.kill.php
r58 r69 743 743 } 744 744 745 function getValue() 746 //returns the value of an item 747 { 748 $value = 0; // Set 0 value incase nothing comes back 749 $id= $this->item_->getID(); // get Item ID 750 $qry = new DBQuery(); 751 $qry->execute("select Value from kb3_items where itm_id= '" . $id . "'") or die($qry->getErrorMsg()); 752 $row = $qry->getRow(); 753 $value = $row['Value']; 754 if ($value == "") { 755 $value = 0; 756 } 757 return $value; 758 } 759 745 760 function getLocationID() 746 761 {