In my page i have three php variables. Each variable has his own button in the page
<article>
</p>Some infor</p>
?php echo $hotelName0;?>
<a title="" href="details.php">DETAILS</a>
</article>
<article>
</p>Some infor</p>
?php echo $hotelName1;?>
<a title="" href="details.php">DETAILS</a>
</article>
<article>
</p>Some infor</p>
?php echo $hotelName2;?>
<a title="" href="details.php">DETAILS</a>
</article>
Ho can i create a cookie from the selected article and post its correspodent variable ($hotelNamex) Can this be done with php cookies ? Thanks for looking into it.