PHP/Variables: Difference between revisions
| Line 104: | Line 104: | ||
===Globals=== | ===Globals=== | ||
You can force functions to | You can force functions to access other variables by using the global keyword, e.g: | ||
<source lang="php"> | <source lang="php"> | ||
<?php | <?php | ||