How pass form variable to window.open()

From: Date: Thu, 05 Aug 2004 14:58:43 +0000
Subject: How pass form variable to window.open()
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-192872@lists.php.net to get a copy of this message
Hi, 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. Thanks, Yw

« previous php.general (#192872) next »