Click here to Skip to main content
15,914,419 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Here is the question.


Q.AN ARRAY HAS SOME WORDS IN IT,WHICH ARE DISPLAYED RANDOMLY ON SCREEN FOR FEW SECS. THEN USER SEES THAT WORD AND TRIES TO TYPE SAME WORD ON SCREEN. IF USER TYPES SAME WORD WHICH IS ON SCREEN THEN THAT WORD IS DELETED FROM ARRAY. THIS SHOULD WORK UNLESS ARRAY IS EMPTY.

I am not able to understand how to randomize array elements so that one element s displayed at once.
Please can someone provide me with a solution?

Thanks in advance.

Important:
1. I have to use only php, NO JAVASCRIPT
2. I have to take input using POST.
3. The input and output should be on the same page.
Posted
Updated 6-Mar-14 6:10am
v2
Comments
enhzflep 6-Mar-14 22:00pm    
Down-voted for the request: "Please can someone provide me with a solution?"
You should come to QA with specific aspects of your problem, not with the whole problem. We'll help you complete your work, but wont do it for you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900