All pastes #549948 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-06-08 08:37 UTC
rendered paste body
<?php	
	$albums = array(
	'Eminem' => array(
	'Encore Album',
	'Fucking Crazy Album',
	'Infinite Album',
        'Off The Wall Album',
	'Platinum Collection Album',
	'Slim Shady EP \(Web\) Album',
	'Straight From The Lab Album',
	'The Best Of Album',
	'The Eminem Show Album',
	'The Marshall Mathers LP Album',
	'The Slim Shady LP Album'),
	'50Cent' => array(
	'Guess Who\'s Back Album',
        'No Mercy, No Fear Album',
	'Power Of the Dollar Album',
	'The Massacre Album',
	'The New Breed Album')
	);
	
	// Search an Array
	if (in_array('Eminem', $albums)){
		echo "Its There!";}
	else {
		echo "Out Of Stock";} ?>