Home > Archive > PHP Language > June 2005 > Passing variable values from one php to another?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Passing variable values from one php to another?
|
|
| LaBird 2005-06-03, 8:55 pm |
| Dear all,
I'd like to ask is there any simple way to pass the variable values
from one php to another?
My intention arises because I am writing two php scripts, one for
generating random multiple choice questions from a database and
asking users to complete the questions while the other prints out
the answer. Thus the first php (together with the HTML form)
needs to pass the question ids generated to the second php, so
that the same set of questions are displayed in both homepages.
Best Regards,
Benny (LaBird).
[Email: Please drop all numerals for the real email address.]
| |
| Kimmo Laine 2005-06-03, 8:55 pm |
| "LaBird" <wlcheung@hkucs1975.org> kirjoitti
viestissä:d7q8ci$qkf$1@webinfo.cs.hku.hk...
> Dear all,
>
> I'd like to ask is there any simple way to pass the variable values
> from one php to another?
> My intention arises because I am writing two php scripts, one for
> generating random multiple choice questions from a database and
> asking users to complete the questions while the other prints out
> the answer. Thus the first php (together with the HTML form)
> needs to pass the question ids generated to the second php, so
> that the same set of questions are displayed in both homepages.
>
> Best Regards,
> Benny (LaBird).
> [Email: Please drop all numerals for the real email address.]
>
http://php.net/session
--
"I am pro death penalty. That way people learn
their lesson for the next time." -- Britney Spears
eternal.erectionN0@5P4Mgmail.com
|
|
|
|
|