How many ways are there for passing variables between pages
in PHP and what are they ?
Answer Posted / guest
As far as my knowledge there are four ways .They are Pass
the variable in URL,through a session,via a COOKIE or with
an HTML form.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is the use of final class in php?
What is interface? Why it is used?
Write a program in php to reverse a number?
How is it possible to set an infinite execution time for php script?
What is final in php?
Why post method is used in php?
Is php used anymore?
How to get a random value from a php array?
Suppose the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?
How can you pass a variable by reference?
What is the use of "enctype" attribute in a html form?
Write a php function to convert all null values to blank?
What is the use of Mbstring?
What is the difference between for and foreach in php?
Explain php explode() function.