Fw: [PHP] problems with jsp & php

2002-12-11 Thread Kevin Stone
I may be wrong about this becuase I don't program JSP but if the values in
$_GET are strings then you may need to encase them in quotes.

var action = "";

-Kevin


- Original Message -
From: "Jeff Bluemel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 11, 2002 3:22 PM
Subject: [PHP] problems with jsp & php


> I cannot figure out where my problem is with the following script.  I know
> I've used this syntax successfuly in the past.  when I take out the
> variables, and just set link to something without using php then this
works.
> know when I click on the form that activated the button it does nothing.
>
> function batch_close()
> {
> if (parent_window && !parent_window.closed)
> {
>  var action = ;
>   var batch = ;
>   var begin = ;
>   var end = ;
>   var amount = ;
>   var link = "maintain.html?action=" + action + "&batch=" + batch +
> "&begin=" + begin + "&end=" + end + "&amount=" + amount;
> parent_window.document.location.href=link;
> parent_window.focus();
> }
> window.close();
> }
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] problems with jsp & php

2002-12-11 Thread Jeff Bluemel
I cannot figure out where my problem is with the following script.  I know
I've used this syntax successfuly in the past.  when I take out the
variables, and just set link to something without using php then this works.
know when I click on the form that activated the button it does nothing.

function batch_close()
{
if (parent_window && !parent_window.closed)
{
 var action = ;
  var batch = ;
  var begin = ;
  var end = ;
  var amount = ;
  var link = "maintain.html?action=" + action + "&batch=" + batch +
"&begin=" + begin + "&end=" + end + "&amount=" + amount;
parent_window.document.location.href=link;
parent_window.focus();
}
window.close();
}



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php