I didn't put the php tags around the class file.
The fact that the contents of the class file where printed out above the error should have made realise that it was not being parsed.
I did not know until now, how useful view source can be for debuging scripts.
I could see how the script had generated the html select code and then after reading maxxd's post, it dawned on me why the following script was not producing any results. I was assuming that the Form Name was as I had defined it, but seeing the source code revealed to me that the function was already generating that as event and mood and posting these values.
So the script on post #37 is the one that was pretty much as the final script.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.