Thread
:
DEFINE and GLOBAL variables in PHP
View Single Post
#
13
(
permalink
)
07-22-2008, 03:57 AM
madhuri_vats
D-Web Trainee
Join Date: Jul 2008
Posts: 1
Re: DEFINE and GLOBAL variables in PHP
global $a = 1; /* global scope */
function Test()
{
echo $a; /* reference to local scope variable */
}
Test();
now this willl work
Web Design Company
|
Asp.Net Programmers
|
web designers Delhi
madhuri_vats
View Public Profile
Send a private message to madhuri_vats
Find all posts by madhuri_vats