1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
jek_recluse [69]
3 years ago
14

Which of the following that can be use to access session variables in PHP?

Computers and Technology
1 answer:
Neko [114]3 years ago
4 0

Answer:

a. $_SESSION

Explanation:

A session variable in PHP can be accessed using the global variable $_SESSION.

This can be used for both setting and retrieving session values as described subsequently.

$_SESSION["var1"] = "value1";

This set a session variable called 'var1' to a value 'value1'. Later if we want to retrieve this value we can do it as follows:

echo "Value of session variable 'var1' is " . $_SESSION["var1"] ;

This will print the result: Value of session variable 'var1' is value1

You might be interested in
How to remove special formatting from a table in word.
ch4aika [34]

Answer:

Clear Format

Explanation:

7 0
2 years ago
Is discord down right now?
Eva8 [605]

Answer:

yes it is

Explanation:

To do this, visit discord.com and login to the web version. Once logged in using the right credentials launch the app on your PC, discord should work properly now. Ensure the system is up to date. As a last resort, uninstall and reinstall the app again.

3 0
3 years ago
What creates a challenge with night photography?
Nikolay [14]

Answer:

low light levels

It's night photography which means you are taking photographs at night. At nighttime, there isn't much light because the sun isn't out.

Explanation:

6 0
3 years ago
If you are logged on to Windows Live Messenger, why would you be unable to engage
Mazyrski [523]

Answer:

I'm not sure i haven't had that problem

Explanation:

7 0
3 years ago
How does the rhythm of "The Raven" compare to "Casey at the Bat?"
katen-ka-za [31]

Answer:

Casey at the Bat: A Ballad of the Republic Sung in 1888' is the full title of an American poem written by Ernest Lawrence Thayer. The poem tells the story of the final half-inning of a baseball game. ... Not only is it a love song to the dramatic sport of baseball, but it is a ballad to 'the Republic in 1888'.

8 0
3 years ago
Other questions:
  • What technological innovation was the key factor driving the booming economy?
    8·1 answer
  • WILL UPVOTE NEED ANSWERS ASAP i have till 4:30
    12·1 answer
  • The main activity area or the brain of the computer is called the ________
    15·1 answer
  • When it comes to safety, the choice to be safe is often up to __________?
    8·1 answer
  • Jason works as a Help Desk Technician for uCertify Inc. The company has a Microsoft Windows XP-based network. Jason wants to vie
    9·1 answer
  • How do you mark peoples answer as the brainliest answer? I have trouble doing so. Please help!
    10·2 answers
  • The IT Department already has been testing Windows Server 2012 R2, and some time ago purchased licenses to convert all of its Wi
    14·1 answer
  • What is out put in a computer
    14·2 answers
  • I need some help with this assignment. I'm having difficulty trying come up ideas to use here. Can I get any help?
    5·1 answer
  • Assume there is an interactive math tutor. Many students take the math lessons online. At the end of each lesson, students have
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!