def getData4cryptID(self, tablename, ID):
		"""get the whole row from the database and store it in a dict"""
			   
		fields = self._getFieldsInDB(tablename)
		
		SQL = 'SELECT *,MAKETIME(0,0,TIMESTAMPDIFF(SECOND, StartDate, EndDate)),DATE_ADD(EndDate, INTERVAL %s DAY),TIMESTAMPDIFF(DAY,DATE_ADD(EndDate, INTERVAL %s DAY), NOW()),TIMESTAMPDIFF(HOUR,DATE_ADD(EndDate, INTERVAL %s DAY), NOW()) FROM %s WHERE cryptID="%s"' % (self.store_time, self.store_time, self.store_time, tablename, ID)
		
		array_data = self.execQuery(SQL)
		
		if len(array_data) > 0:
			for x in range( len(fields) ):
				self.data[fields[x]] = array_data[0][x]
			self.data['date_expiration']  = array_data[0][-3]
			time_expiration = None
			if array_data[0][-2] and array_data[0][-1]:
				time_expiration = "%d days, %d hours" % (abs(array_data[0][-2]),abs(array_data[0][-1]) - abs(array_data[0][-2] * 24))			
			self.data['time_expiration']  = time_expiration
			self.data['time_computation'] = array_data[0][-4]
						 
		return self.data