[PHP] spot the mistake

2006-11-12 Thread Ross
echo ('a href=# onclick=window.open(\'news/old_news_list.php?month=$jamp;year='.$i.'\',\'\',\'width=700,height=500\'); return false \ $thisMonth/a'); I am trying to get this to open in a popup however it doess not open and I cannot work out why. Must be a syntax arror as the page displays ok.

Re: [PHP] spot the mistake

2006-11-12 Thread Jochem Maas
Ross wrote: echo ('a href=# onclick=window.open(\'news/old_news_list.php?month=$jamp;year='.$i.'\',\'\',\'width=700,height=500\'); return false \ $thisMonth/a'); t my first guess is that you've back-slashed something you shouldn't have - try breaking it down (and/or looking at the html

Re: [PHP] spot the mistake

2006-11-12 Thread Robert Cummings
On Sun, 2006-11-12 at 15:21 +, Ross wrote: echo ('a href=# onclick=window.open(\'news/old_news_list.php?month=$jamp;year='.$i.'\',\'\',\'width=700,height=500\'); return false \ $thisMonth/a'); I am trying to get this to open in a popup however it doess not open and I cannot work out

Re: [PHP] spot the mistake

2006-11-12 Thread Curt Zirzow
On 11/12/06, Ross [EMAIL PROTECTED] wrote: echo ('a href=# onclick=window.open(\'news/old_news_list.php?month=$jamp;year='.$i.'\',\'\',\'width=700,height=500\'); return false \ $thisMonth/a'); Just remove any question on what is wrong: $thisUrl = news/old_news_list.php?month=$jamp;year=$i;

Re: [PHP] spot the mistake

2006-11-12 Thread Robert Cummings
On Sun, 2006-11-12 at 11:36 -0800, Curt Zirzow wrote: On 11/12/06, Ross [EMAIL PROTECTED] wrote: echo ('a href=# onclick=window.open(\'news/old_news_list.php?month=$jamp;year='.$i.'\',\'\',\'width=700,height=500\'); return false \ $thisMonth/a'); Just remove any question on what is

Re: [PHP] spot the mistake??

2005-03-22 Thread Chris Ramsay
[snip] if (isset($submitted)){ [/snip] s...what sets $submitted then? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] spot the mistake??

2005-03-22 Thread AndreaD
there is a hidden field called submitte Chris Ramsay [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] if (isset($submitted)){ [/snip] s...what sets $submitted then? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php