Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[super]global variable

Status
Not open for further replies.

eggy

Technical User
Mar 2, 2001
11
FR
Hi,

I begin in PHP, I'd like to know how can I set a variable wich would be used by all my script (without setting a hiddenfield) like it is possible in ASP with Session("variable-name") = variable

thank you
 
hi
make the variable GLOBAL
ie GLOBAL $variable_name;
hope that will help u
spookie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top