Pastoid

Posts::get() - not:id

The page you are looking at now is at this URL: http://pastoid.com/atb

This paste was last updated on March 18, 2009 at 11:10 am.

Pasted Coderaw

				if ( isset( $paramset['not:id'] ) ) {
					if ( is_array( $paramset['not:id'] ) ) {
						array_walk( $paramset['not:id'], create_function( '&$a,$b', '$a = intval($a);' ) );
						$where[] = "id NOT IN (" . implode( ',', array_fill( 0, count( $paramset['not:id'] ), '?' ) ) . ")";
						$params = array_merge( $params, $paramset['not:id'] );
					}
					else {
						$where[] = "id != ?";
						$params[] = (int) $paramset['not:id'];
					}
				}
 

Toggle wordwrap

Referring DomainHits
Unknown Referer 127
pastoid.com 9
mibbit.com 2
search.live.com 1
Is this paste spam?
<Hide