All pastes #168781 Raw Edit

Unnamed

public php v1 · immutable
·published 2006-09-13 09:37 UTC
rendered paste body
 					//--------------------------------------------					// Grab blocked sigs					//--------------------------------------------		        $this->ipsclass->DB->simple_construct( array( 'select' => 'bmid',													  'from'   => 'sig_blocked',													  'where'  => "mid=".$this->ipsclass->member['id'],															  											 )      );$this->ipsclass->DB->simple_exec();				                while ($r = $this->ipsclass->DB->fetch_row())                {                        $blocked_sig[] = $r;                }print_r($blocked_sig);/*		Array(    [0] => Array        (            [bmid] => 17        )    [1] => Array        (            [bmid] => 102        ))*/print_r($blocked_sig['bmid']);			                        // Blocked                        if ($blocked_sig['bmid'] == $poster['id']) {		}