C
|
cgphp 1/28/2013 |
You can't assign a value to a PHP session variable (server side code) on the client side. You need an ajax call to update the session var. Check the jquery ajax method: http://api.jquery.com/jQuery.ajax/ |
D
|
dannche author 1/28/2013 |
You can't assign a value to a PHP session variable (server side code) on the client side. You need an ajax call to update the session var. Check the jquery ajax method: http://api.jquery.com/jQuery.ajax/
|
![]() |
Admin 1/28/2013 |
Simply add the following to your BeforeDisplay event: $_SESSION["AlumniCount"] = $_SESSION["AlumniCount"]-1; |
D
|
dannche author 1/28/2013 |
Simply add the following to your BeforeDisplay event: $_SESSION["AlumniCount"] = $_SESSION["AlumniCount"]-1;
|
![]() |
Admin 1/28/2013 |
I see, it's in fact more complicated. You still need to move this logic to the server side code, that's where you can manipulate session variables. if ($values["AlumniID"]==3) |