Re: PHP grab value from combo box
You haven't mentioned anything about that file before. Undefined index means that you are attempting to access an index within an array that does not exist. Double check your array.
And this has nothing to do with XML.
Re: PHP grab value from combo box
Re: PHP grab value from combo box
Can anyone help? Will it work if the XML and XSLT are modified?
Re: PHP grab value from combo box
How can anyone help if you aren't making any sense, nor posting any code. Did you check for the array index as I already mentioned?
Quote:
Originally Posted by girish_mu
Will it work if the XML and XSLT are modified?
Why would server-side code accessing a drop down change by XML unless you were filling the drop down with the XML?
Re: PHP grab value from combo box
I had tried capturing the data from the combo by submitting the form to a page called capture.php and I used the following piece of code:
Code:
$captured_data=$_REQUEST['sel_Sounds'];
And I got the error mentioned in a previous post. Have you tried the XML and XSLT? The combo is being filled with data from the XML file.