- Posts Tagged ‘variable-scope’

JavaScript: Global Variable

We use global variable to share something across functions in JavaScript. Here is an example script showing - How the global variable behaves in JavaScript, - How we can create global variable, and - How we can use it? <script> // A global variable. It can be defined like this… (Continue)

Application Variable in PHP

Are you missing Application Variable in PHP. Many who comes from ASP will look for it. There is no application variable in PHP. PHP have only session variable. You need to do little extra work for application session variable in PHP. Application variable is used to pass information among different… (Continue)