Hi!
In the previous versions of the Moodle 1.6 the code below work fine:
echo "<input type='button' name='Generate' value='$generate'
onclick='javascript:openWindow("teste.php?lo=$mymodule->id&cid=$course->id&aquot;)' />;";
When i click in the button the link is correct:
http://localhost/moodle/mod/mymodule/teste.php?loid=1&cid=2
But with moodle 1.6, the values of variables $mymodule->id and $course->id do not pass by the URL for teste.php file.
I don't undertand why only in 1.6 version this code don't work... Someone can help me? please...