Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
The codemaker must generate a four digit code, keeping the order of digit. It will be convenient to find a programming structure which can do so.
Here are some hints, but you really should try to find by yourself.
Click to see some hints
To store ordered list of string, items, or number, you can use PHP associative arrays: