What's new
  • Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as: All that and more! Registration is quick, simple and absolutely free. Join our community today!

PHP Mga paps patulong

Joined
Nov 1, 2017
Messages
472
Reaction score
101
Paano po ba madeactivate yung quiz or exam base sa deadline na nakalagay sa exam.

yung gawa ko po kasi kahit expired na yung quiz nakakapag exam parin

Salamat po sa makakasagot !
 

DARKWING10

Honorary Poster
gawa ka ng condition. if (date = yyyy-mm-dd){

deactivate quiz. dapat di na pwede ma access pero nakikita parin yung previous quiz
}else{

access the quiz.

}
 

andre_sentro

Journeyman
QUOTE="andre_sentro, post: 7733045, member: 542610"]Mahirap yan kasi pag lumapas ka sa date after nyan magoopen ulit yung quiz[/QUOTE]

Pwede naman na if date.current > or < date.deadine then disallow.
 

ShMSmk3

Journeyman
set ka ng conditions na i mamatch nya yung quiz expiry date at yung current date, pag lumampas na sya dun sa na set na expiry date magiging unavailable na sya
 

geo21

Journeyman
gawa ka muna pre ng if else condition before mo idisplay yung yung quiz..
 

Trending Topics

Trending On This Forum

Unanswered Topics

Top