How I use global variable in another page without using
$_GET method?

Answers were Sorted based on User's Feedback



How I use global variable in another page without using $_GET method?..

Answer / ravi baba zaa

Using Global variable it is not possible.

Sending data from one page to another can be done following ways

GET
POST
SESSION

Is This Answer Correct ?    11 Yes 5 No

How I use global variable in another page without using $_GET method?..

Answer / siraj

and COOKIES too.

Is This Answer Correct ?    5 Yes 3 No

How I use global variable in another page without using $_GET method?..

Answer / rakesh kumar mishra

use also $_REQUEST['valuename'];

Is This Answer Correct ?    3 Yes 1 No

How I use global variable in another page without using $_GET method?..

Answer / raju kumar

we can use query string and can retrieve on other page .

Is This Answer Correct ?    2 Yes 0 No

How I use global variable in another page without using $_GET method?..

Answer / aiajz

$_REQUEST['value']
is the global variable that can get the values of $_GET[],$_POST[] and Query string,

Is This Answer Correct ?    1 Yes 1 No

How I use global variable in another page without using $_GET method?..

Answer / n.viranjaneyulu

global varibles used only in function that is also with in
same page only.
If u want that variable value means ,u can use sesission
then u can use any page with in project.

Is This Answer Correct ?    1 Yes 3 No

How I use global variable in another page without using $_GET method?..

Answer / minnie

The above answer is wrong.
U can use that in any function in any class.

In which function u need to use global variable, do the
following:-

global $testVariable;

Now u can this variable in the current function

Is This Answer Correct ?    1 Yes 3 No

How I use global variable in another page without using $_GET method?..

Answer / raju kumar

This is write answer

GET
POST
SESSION

Is This Answer Correct ?    2 Yes 6 No

How I use global variable in another page without using $_GET method?..

Answer / cyrus

are you mad what you have to do with global variable????

Is This Answer Correct ?    4 Yes 13 No

Post New Answer

More PHP Interview Questions

How to create a directory?

0 Answers  


Tell me what does the scope of variables means?

0 Answers  


How I use global variable in another page without using $_GET method?

9 Answers  


Starting or restarting a computer is called

0 Answers  


What are the advantages and disadvantages of Cascading Style Sheets?

1 Answers  


List some array functions in php?

0 Answers  


how to install openssl, ISAPI, pdf modules in php 5.2.5 with apache on windows xp.

2 Answers  


What IS PHP?

3 Answers   Reliance,


What is namespace and use in php?

0 Answers  


What is the Pipe Symbol represented?

0 Answers  


What is the meaning of xdebug?

0 Answers  


Is overloading possible in php?

0 Answers  


Categories