A user will submit a value on my form.
Say AB10. That goes into a variable called $code1
Then I need to search this big long text document to find the values to code1 and return them.
Here is the structure of the text document.
I then need to find AB10 and return the first bit after the comma "392900" and put that into a variable called $variableX. Then I need to take the next value after the comma "804900" and put that into a variable called $variableY - I can disgard the rest of the data.
So how can I do that? I need to be able to pull the values and process them in the rest of my script.