79404550

Date: 2025-02-01 06:58:13
Score: 1
Natty:
Report link

Store the value in a global session variable perhaps then call it if needed.

// Store It
$_SESSION['GlobalValue'] = $MyValue ;

// Call It If Value No Longer Exists
if(empty('$MyValue')) {
$MyValue = $_SESSION['GlobalValue'] ;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gregory Munson