Chartjs-Select data based on value of ID

1👍

Use sessions then. $_SESSION['teamID'] = $teamID. Then you can reference it anywhere. Be sure to start the session at the top of each php file using sessions.

session_start();
$teamID = $_POST['teamId'];
$_SESSION['teamID'] = $teamID;

References:

Leave a comment