So it sounds like the script you are working with is not making use of sessions. Using sessions would allow you to access the value of the var without passing it in the url. If it has to be passed in the url, how about using md5() to mask it?
$myCoke = md5($myCoke);
<a href="something.php?item=$myCoke">Coke</a>;
provided you are not sending too many values this way as you are limited by length of the url.
The value of $myCoke is going to look like b9d26bb69f638a1c55025e1f67fdc46f so in order to compare it to "Coke" you would have to use:
If($myCoke == md5("Coke") {
echo "It's Coke!";
}
Maybe not what you are looking for.
I use sessions:
session_start();
$_session['myCoke'] = "Coke";