J
|
justmelat author 11/14/2017 |
What I think I want to do is something like this: I have set a session variable on the "successful registration event". Once that var is set to true, i want to hide the register link that appears on the login page: On the "After application initialized" event page, how can I or can I write and if-statement that achieves the following:
|
J
|
justmelat author 11/14/2017 |
if($_SESSION["alreadyRegistered"] == true){ |
romaldus 11/14/2017 | |
why does the code below not work in the javascript onload event or in the editor code snippet? How can I resolve? if($_SESSION["alreadyRegistered"] == true){
|
J
|
justmelat author 11/16/2017 |
You cannot use php code in javascript onload event
|