Question : check if session variable exists php
Answered by : testy-tuatara-3pce04am1ym5
if (isset($_SESSION['errors']))
{ //Do stuff
}
Source : https://stackoverflow.com/questions/10855972/determine-if-session-superglobal-exists-in-php | Last Update : Wed, 13 May 20