Jump to content

giggity

Members
  • Posts

    5
  • Joined

  • Last visited

giggity's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi all, For example, many vendor websites allow users to refine a search e.g. Lowest Price First. I need some help to implement this into my website. I have tired to do this using a submit button but it just refreshes the page, and the data that the user has used to search for the produce in the first place.
  2. sorry for the late reply xD, in the example shown I want to create a quiz with multiple questions but, when the user click next it goes to the next page. How can I keep this on one page?
  3. Hi there, i am trying to create a quiz, where when a user has answered a question and press next to go to the next question. But here is where i am stuck after the press next what do i need to do? http://www.safedrivingforlife.info/take-official-free-practice-driving-theory-test/car-practice-theory-tests/car-practice-test-one Here is an example of what I am trying to do
  4. Thanks a million , thats what I needed
  5. Before I start I am new to this so if i have left anything out please do tell . I am creating a quiz which is multiple answer. I am using Submit buttons. I have tried multiple codes such as $_GET and $_Post. I am trying to link the buttons so if the user selects the correct answer it outputs a message. I am aware of If statements but get errors . My Attempt so far: <html> <head> <title>A BASIC HTML FORM</title> <?PHP echo '<input type="Radio" name = "4"/>'; echo '<input type="Radio" name = "2"/>'; $correct=4; $correct=$_POST['4']; if($correct == "4" ){ echo "Correct Awnser"; } else { echo "Wrong Awnser"; } ?> PS: I am also using http://phpfiddle.org/ to run my code. Many Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.