i'm having a hard time getting the global to work on php.
on an old pHP version I used to put my global this way.
but that doesn't seem to be working on the new version of php. can anyone help me out with the new way?
on an old pHP version I used to put my global this way.
PHP:
Function anything() {
global $id, $page, $more, $etc;
#display the page
}
but that doesn't seem to be working on the new version of php. can anyone help me out with the new way?