Re: [PHP] [PLEASE HELP] Passing variable to new page.

2002-06-06 Thread Chris Knipe
echo script language=\JavaScript\; echo function pop1() {; echo window.open(\info.php?prod_id=$result[0]\); }; \\ $result[0] is variable that stores id of the image in database echo /script; I am calling this function in the following manner: echoimg onclick=\pop1();\;

RE: [PHP] [PLEASE HELP] Passing variable to new page.

2002-06-06 Thread Scott Hurring
]] Sent: Thursday, June 06, 2002 2:50 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] [PLEASE HELP] Passing variable to new page. echo script language=\JavaScript\; echo function pop1() {; echo window.open(\info.php?prod_id=$result[0]\); }; \\ $result[0] is variable that stores id

RE: [PHP] [PLEASE HELP] Passing variable to new page.

2002-06-06 Thread David Freeman
echo script language=\JavaScript\; echo function pop1() {; echo window.open(\info.php?prod_id=$result[0]\); }; echo /script; I am calling this function in the following manner: echoimg onclick=\pop1();\; OK, I tend not to put javascript inside php echo statements as it confuses