Code Comments
Programming Forum and web based access to our favorite programming groups.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.]
Post Follow-up to this message"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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.