So I have this two option to use:
$_SESSION["select_hero"] = mysql_real_escape_string($_POST["select_hero"]);
$_SESSION["select_hero"] = isset($_POST["select_hero"]) ? mysql_real_escape_string($_POST["select_hero"]) : "";
In this case let's say that a user can choose between one heroes using a radio button. I do not 100% understand what is the point/difference between this two Sessions.
Thx for any help with understanding..