this variable does not exist !
[ATTACH=CONFIG]n68711[/ATTACH]
this variable does not exist !
[ATTACH=CONFIG]n68711[/ATTACH]
It’s a session variable. Saved there by SC for some reason (maybe for internal use, backward compatibility, and so on…). If you want to access this variable you have to use standard PHP $_SESSION superglobal. It’s not a bug. I move outside.
Exactly.
Arthur, If you explore deeper you will find that SC abuse of SESSION context XD. But it is pretty normal application like SC
I feel like a molester now.
Don’t worry, I was trying to make a joke. Guess I suck at it xD
Dear NetMake guys. Let my put something simply. The help can be divided (at least) into to levels of importance.
We use SC to save development time. All things that SC does can be done by hand coding, though no one wants to do this because the end customer does not care if we used SC or Notepadd to deliver the App. If I save a month by speeding up development with SC, but then loose 3 weeks digging in issues, problems or bugs I’m not gaining anything ! ! !
That is why updating you MACRO help and making it perfect is the most important part of the HELP system and documentation.
You know you have macros, variables etc. which are not even documented at all ! so not have the HELP GUYS go back to work and fix all the issues with the help. This same thing applies to examples. All your sample Apps need to be revised and tested step by step. If new user tries some sample app following your steps and something is not working as described (or docs are outdated) and cannot get through the sample to make it work you made first step to loose another customer.
so once again - PAYING ATTENTION TO DETAILS IS CRUCIAL !
OK, so can anybody read the value of this varivale (the one highlighted) ?
Those variables are accessible through the $_SESSION array, and each column is a “level” (index) in $_SESSION. Take this print screen as an example:
[ATTACH=CONFIG]n73059[/ATTACH]
In this case, to get the value of “ctrl_tracking_tickets” (4), you would have to do this:
$value = $_SESSION["scriptcase"]["SC_app_names"]["sc_tickets"]["ctrl_tracking_tickets"];
echo $value;
Thank Mamede - this makes more sense now. I do some testing to see how it works.