Parse error: syntax error, unexpected T_VARIABLE, expecting T_CASE or T_DEFAULT or '}' in /public_html/basket/addProduct.php on line 7

<?
include('../configuration.php');
if(!isset($_POST['productId']))exit;	/* No product id sent as input to this file */

switch($_POST['productId']){

$get_product = mysql_query("SELECT * FROM products ORDER BY id ASC ");
while ( $list_product = mysql_fetch_array($get_product) ){ // while
echo '	case "'.$list_product['id'].'";
		echo "'.$list_product['id'].'|||Calendar|||50";
		break;';
}

	
	
	
}


?>
bu kodu nasıl çalıştırabilirim?