regards
i have a view page which can i access it via 2 ways [links]
http://localhost/yii/basapp/index.php/assignment/create?Student_Number=
or
http://localhost/yii/basapp/index.php/assignment/create?Student_Number=3333-107102
in my view, if i didn’t pass the student number to the link, a form opens with a list of students (selected base on a selected cycle and a selected class) that i have to select one of them, then i select a behavior, behavior group and finally the behavior
every thing here goes fine
if i pass the student number, no need to select the cycle and the class to select the student, so i got the student info via its number which i already have it
the same code is written for the two cases, just a little difference concerning the how to display the data not more [as you can see in the attached files]
the problem is when i select the behavior group in order then to get the behavior list related to the select group, the list appears empty
without student number, the firebug message before selecting the behavior:
array(4) {
["Assignment"]=>
array(7) {
["userID"]=>
string(0) ""
["studentID"]=>
string(11) "3333-100101"
…
without student number:
<h1>PHP Error [8]</h1>
<p>Undefined index: Assignment (C:\xampp\htdocs\yii\basapp\protected\controllers\AssignmentController.php:624)</p>
<pre>#0 C:\xampp\htdocs\yii\basapp\protected\controllers\AssignmentController.php(624): CWebApplication->handleError()
…
var_dump($_POST) i got this result:
array(0) {
}
can anyone tell me the problem where is?
thanks in advance