Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8343305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T06:01:04+00:00 2026-06-09T06:01:04+00:00

Hi I am a PHP noob and I have been working on this PHP

  • 0

Hi I am a PHP noob and I have been working on this PHP quiz application for my college project.

I have a database of questions and a PHP view page which will load a question from the database and when the user clicks the submit button.

It will then submit the form; on the server side it first stores the id of this question in the session so repetition of questions does not occur, check the answer of the question, and depending upon whether the response was correct or incorrect, an appropriate message will be transferred to the client side along with the current score and other details.

What I want now is a clock-like functionality which will automatically do something should the user run out of time.

Can anyone help me with that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T06:01:06+00:00Added an answer on June 9, 2026 at 6:01 am

    You may need to look for using setTimeout in javascript which runs the clock in client-side. Also you need to take care of tracking the starttime of the test in PHP $_SESSION and verify the submission in server-side.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a PHP noob. I have a database that I will update weekly with
http://sandbox.jinoh.dk/magento/index.php/ I am sadly a noob with this system. I have a series of
I'm a PHP noob and have a question which seems to be simply -
(This is my first try with php) I have a very basic register page.
I'm using PHP, also a complete noob at it. So I have this URL
I am a totally noob at CakePHP and have been dealing with this site
Php noob. I have this text file (names.txt) with comma separated names and codes.
Sorry for such an nOOb question, but I have been work on this for
I apologize in advance, I am a PHP noob! I have form with some
I am noob with php so pardon my ignorance. I have created php form

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.