php not reading select values added at runtime
Posted: Sun Jun 14, 2009 1:47 am
Hi,
I've written a code in which i add items in a select(multiple) box at runtime using Javascript.
I've given the name as 'manualsubject[]' and the values are being added fine.
The problem is that when i read the value of this select in php, using:
$manualsubject = $_POST['manualsubject'];
It displays blank values.
I am not able to figure out why is this happening...
Thanking you in advance for any help
I've written a code in which i add items in a select(multiple) box at runtime using Javascript.
I've given the name as 'manualsubject[]' and the values are being added fine.
The problem is that when i read the value of this select in php, using:
$manualsubject = $_POST['manualsubject'];
It displays blank values.
I am not able to figure out why is this happening...
Thanking you in advance for any help