Jump to content


Forms


1 reply to this topic

#1 dedwardp

    Young Padawan

  • Members
  • Pip
  • 51 posts
  • Location:Colchester, England, UK

Posted 02 April 2007 - 03:54 PM

How can I make a quiz, such as the one that I'm trying to produce here, so that when submit is pressed the user can get the answers instantly, as oppose to having to have them e-mailed to myself?

Cheers!

#2 greg

    Jedi In Training

  • Members
  • PipPip
  • 499 posts
  • Location:New York City
  • Interests:Fine art, web and graphic design, naval architecture, chess, and sports.

Posted 03 April 2007 - 02:09 PM

Use the PHP function "isset":

if (isset($_POST['submit'])) {
echo "Type your answers here.";
}

Just make sure the name of your submit button is "submit".





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users