OK. I must be going mad. I have a large html.pl script which uses 63 fields (0 - 62). Field 62 is named 'userid' and this exact word is used throughout the script and is defined in the cfg file as such.
In trying to print $rec{userid} nothing is returned, and no userid record is saved in the database. All other fields are being saved correctly.
Another virtually identical script is working perfectly well. In that, the field is named 'Userid' (note upper case U).
The problem script was also written originally with an uppercase U, but did not work. I attempted to correct the situation by turning all instances to lower case.
At no point in the script do I use <INPUT> for userid.
I do not know how the db script picks the userid up, so am having difficulty debugging the script. I have carefully checked spelling etc, but have drawn a blank. Any ideas?
-------------
David Olley
Anglo & Foreign International Limited,
http://www.firehelmets.co.uk
There are 10 types of people in the world: those who understand binary, and those who don't.
In trying to print $rec{userid} nothing is returned, and no userid record is saved in the database. All other fields are being saved correctly.
Another virtually identical script is working perfectly well. In that, the field is named 'Userid' (note upper case U).
The problem script was also written originally with an uppercase U, but did not work. I attempted to correct the situation by turning all instances to lower case.
At no point in the script do I use <INPUT> for userid.
I do not know how the db script picks the userid up, so am having difficulty debugging the script. I have carefully checked spelling etc, but have drawn a blank. Any ideas?
-------------
David Olley
Anglo & Foreign International Limited,
http://www.firehelmets.co.uk
There are 10 types of people in the world: those who understand binary, and those who don't.

