Re: [PHP] javascript in php page to use window.open()

2006-01-12 Thread Rodolfo Andrade
php-general@lists.php.net Sent: Thursday, January 12, 2006 2:51 AM Subject: [PHP] javascript in php page to use window.open() Hi everyone, I am trying to open a new window after a successful function call (I don't want to use \n"; echo " window.open(\&q

[PHP] javascript in php page to use window.open()

2006-01-11 Thread Olga Urban
Hi everyone, I am trying to open a new window after a successful function call (I don't want to use \n"; echo " window.open(\"add.html\",\"resizable=no,width=400,height=200\");"; echo "\n\n"; } else

[PHP] JavaScript in PHP or PHP in JavaScript

2004-07-23 Thread Robb Kerr
Let me preface this by saying that I don't know JavaScript. I've got a page that is built by a long complicated JavaScript that I was able to hack just enough to function the way I wanted. There are some lines of code -- those that define div positioning -- that need to be different depending upon

[PHP] Javascript in PHP

2003-06-24 Thread [EMAIL PROTECTED]
How can I get a script to work on a page that has HTML generated by PHP and a javascript with functions called by an checkbox? javascript: function PrintScript(){ $js = "function CheckBox1()"; $js .= "{var box1 = window.document.ctype.wr;var box2 = window.document.ctype.pfo;var box3 = window.docum

RE: [PHP] javascript in PHP statement

2001-02-15 Thread DanO
ables themselves and construct and run the query in a new request using php. you use the same page with control structures on it. DanO -Original Message- From: Michael Hall [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 12:06 PM To: Matt Davis Cc: [EMAIL PROTECTED] Subjec

Re: [PHP] javascript in PHP statement

2001-02-15 Thread Michael Hall
> I am new to php and I am wondering if it is possible to use a javascript > variable in a php statement for example: > > // create sql statement > > $sql = "select * from main where businesstype = "consultancy" and > top.upper.villagename = != "0";"; As far as I know, no. Unless

[PHP] javascript in PHP statements

2001-02-15 Thread Matt Davis
I am new to php and I am wondering if it is possible to use a javascript variable in a php statement for example: // create sql statement $sql = "select * from main where businesstype = "consultancy" and top.upper.villagename = != "0";"; Is it possible to make this work if "top.