• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

Global on php newer version

jetalomar

New Member
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.
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?
 
Back
Top