<?php 
	// Connect to the MySQL database  
    if (isset($_GET['id'])) 
	{
		$id = $_GET['id'];

	
		include "../../storescripts/connect_to_mysql.php"; 
		mysql_query("
			UPDATE 1_customers
			SET rainy_season_promo = 'READ'
			WHERE customer_id = '$id'
		");
		
		mysql_close();
	}
	
	header("Location: https://www.mypowderblue.com/promo/rainy-season/?utm_source=cron&utm_medium=email&utm_campaign=rainyseason");
?>