I have some php $_SESSION
vars that I am using in my site. like follows
$_SESSION[$select_grid_name."_id"];
The grid name is a name of the table been targeted. This all seems to work well but I have one issue that now I am trying to get the session var on a javascript call which is generated programatically for all grids
I want to do something like this
var grid_name = sender["id"]; //id assigned form grid call on select
var field_id = "<?php echo $_SESSION[?>" +grid_name +"]; ?>";
this errors because I am breaking up the php echo
call. How can I call the php session var based on the javascript grid name?