[snip]
Anyone can tell if, inside php script, I can pass form variable to the
javascript window.open() call?
That is,
in the form, for example, i have <input type=text.. name=student ...>
and <input type=button onClick=window.open('url?student=$student', ....)
It seems to me not working.
[/snip]
You have to echo or print the sJavaScript statement with PHP,
print("<input type=\"button\"
onClick=\"window.open('url?student=$student', ....)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php