Im currently in a server side scripting class. The instructors provide an example to compare to what you code with the assignment. I found out that their code is a little outdated. Im trying to redo this statement.
$investment = !isset($_COOKIE[‘investment’]) ? ’ ’ : $_COOKIE[‘investment’];
to this?:
$investment = !isset($_COOKIE[‘investment’]) ?? ’ ’ ;
Any help would be much appreciated. I have no background in coding.