Hi,
I need some help. I have an HTML form where visitors should be ble to SELECT from different OPTIONs. The options are stored in a file with the following structure:
option1:0
option2:1
optino3:0
The second element shows whether the option has already been chosen by someone. If this value is "1' then it won't be shown in the form next time.
What I want PHP to do is set change "0" to "1" in the line that was selected in the form.
option1:1
option2:1
optino3:0
Can anyone help me with this? The solution may be quite simple, but I can't find it out.
Thanks,
Akos