/    Sign up×
Community /Pin to ProfileBookmark

global variable sample

Hi Friends

Totally am having the 4 pages,

my input values given in the page1, i want these values upto 4 pages,

I know we can do this using session,but i want to do this using global variable,

thanks

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@CoutJan 17.2009 — It's not possible with global variables, global meaning in this fall you can use the variables in every functions or classes. Not on every page.

You can try session, cookies, the database, create files with php or you include the other pages to page 1 so you can use the $_POST var on every include page.

What are you trying to do?

mfg

Cout
×

Success!

Help @bharanikumarphp spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...