на первую страницу ставь:
echo('<a href="detals.php" onclick="setCookie(\'CookieName\', ' . $row['id'] . ', 3600 );"><div class="detals">подробно </div></a>');
на вторую страницу:
<?php
$value = isset( $_COOKIE['CookieName'] ) ? intval( $_COOKIE['CookieName'] ) : 0;
$result = mysql_query("SELECT * FROM `products` WHERE `id`=$value");
while( $row = mysql_fetch_array( $result ) ) {
echo('<div class="infob_conteiner">');
echo('<div class="photo">');
echo('<p><img src="../images/products/'.$row['image'].'" width="150" height="100" /></p>');
echo('<p> </p>');
echo('</div>');
echo('<div class="information_block">');
echo('<p>'.$row['name'].' '.$row['model'].'</p>');
echo('</div>');
echo('</div>');
}
?>