Re: [PHP] php and javascript error

2007-03-12 Thread Richard Lynch
When you install IE, I think there is an option to get the developer JS tools that give better error messages... And there's some kind of setting in the preferences about showing JS errors. And maybe a JS console. Havent' used IE for so long, I forget what all there is, but I suspect you can

Re: [PHP] php and javascript error

2007-03-12 Thread Richard Lynch
On Thu, March 8, 2007 7:17 pm, jekillen wrote: Yes I have been around the bend with Netscape and now, Fire Fox javascript consoles. Before I got it that I need to format web content text for Unix, I went crazy trying to interpret Netscape console messages and the line numbers it said the

RE: [PHP] php and javascript error

2007-03-12 Thread Richard Lynch
On Sun, March 11, 2007 9:21 am, tedd wrote: At 5:28 PM +0100 3/7/07, [EMAIL PROTECTED] wrote: PS: If you want your code to validate, change the to amp; Add the closing /a tag too. PPS: It's advisable not to use the short tags, use ?php instead of ? in such a cases I usually use ?= $var

RE: [PHP] php and javascript error

2007-03-11 Thread tedd
At 5:28 PM +0100 3/7/07, [EMAIL PROTECTED] wrote: PS: If you want your code to validate, change the to amp; Add the closing /a tag too. PPS: It's advisable not to use the short tags, use ?php instead of ? in such a cases I usually use ?= $var ? instead ?php echo $var ?. At least it's

Re: [PHP] php and javascript error

2007-03-11 Thread Tijnema !
On 3/11/07, tedd [EMAIL PROTECTED] wrote: At 5:28 PM +0100 3/7/07, [EMAIL PROTECTED] wrote: PS: If you want your code to validate, change the to amp; Add the closing /a tag too. PPS: It's advisable not to use the short tags, use ?php instead of ? in such a cases I usually use ?= $var ?

Re: [PHP] php and javascript error

2007-03-11 Thread tedd
At 3:25 PM +0100 3/11/07, Tijnema ! wrote: On 3/11/07, tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: At 5:28 PM +0100 3/7/07, mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: PS: If you want your code to validate, change the to amp; Add the closing /a tag too. PPS: It's

Re: [PHP] php and javascript error

2007-03-08 Thread jekillen
On Mar 7, 2007, at 11:46 PM, Tijnema ! wrote: Just a little side note, you said that firefox wasn't giving an error, i think it does, but that it hides the error. Open your page, and then go to Tools-javascript console. There it will display all javascript errors. And gives a nice detailed

Re: [PHP] php and javascript error

2007-03-07 Thread Németh Zoltán
2007. 03. 7, szerda keltezéssel 10.59-kor Ed Curtis ezt írta: I've just run into this problem this morning a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo $real_company_name; ?', 'Web Site'); This

Re: [PHP] php and javascript error

2007-03-07 Thread Tijnema !
Open the page with IE 7, and open the source, if it doesn't show any ? or ? tags, then it is a IE problem.. Tijnema On 3/7/07, Németh Zoltán [EMAIL PROTECTED] wrote: 2007. 03. 7, szerda keltezéssel 10.59-kor Ed Curtis ezt írta: I've just run into this problem this morning a href=#

RE: [PHP] php and javascript error

2007-03-07 Thread Edward Kay
I've just run into this problem this morning a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo $real_company_name; ?', 'Web Site'); This produces an Error on Page in IE 7, but works perfectly in Firefox

Re: [PHP] php and javascript error

2007-03-07 Thread Ed Curtis
Németh Zoltán wrote: 2007. 03. 7, szerda keltezéssel 10.59-kor Ed Curtis ezt írta: I've just run into this problem this morning a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo $real_company_name; ?', 'Web

Re: [PHP] php and javascript error

2007-03-07 Thread Tijnema !
On 3/7/07, Ed Curtis [EMAIL PROTECTED] wrote: Németh Zoltán wrote: 2007. 03. 7, szerda keltezéssel 10.59-kor Ed Curtis ezt írta: I've just run into this problem this morning a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent;

RE: [PHP] php and javascript error

2007-03-07 Thread afan
I've just run into this problem this morning a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo $real_company_name; ?', 'Web Site'); This produces an Error on Page in IE 7, but works perfectly in Firefox

Re: [PHP] php and javascript error

2007-03-07 Thread Ed Curtis
a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo $real_company_name; ?', 'Web Site'); This produces an Error on Page in IE 7, but works perfectly in Firefox and Netscape. I have several other javascript calls on

RE: [PHP] php and javascript error

2007-03-07 Thread Brad Fuller
-Original Message- From: Ed Curtis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 11:47 AM To: php-general@lists.php.net Subject: Re: [PHP] php and javascript error a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent

RE: [PHP] php and javascript error

2007-03-07 Thread Brad Fuller
-Original Message- From: Brad Fuller [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 12:02 PM To: 'Ed Curtis'; 'php-general@lists.php.net' Subject: RE: [PHP] php and javascript error -Original Message- From: Ed Curtis [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: [PHP] php and javascript error

2007-03-07 Thread Edward Kay
a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo $real_company_name; ?', 'Web Site'); This is a JavaScript issue, but may have something to do with the data you are echoing out in PHP. Look at the source in

Re: [PHP] php and javascript error

2007-03-07 Thread Seak, Teng-Fong
Ed Curtis wrote: Németh Zoltán wrote: 2007. 03. 7, szerda keltezéssel 10.59-kor Ed Curtis ezt írta: I've just run into this problem this morning a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo

Re: [PHP] php and javascript error

2007-03-07 Thread Ed Curtis
Edward Kay wrote: you've got a stay quote mark in one of your PHP vars. Not it, I looked and there's nothing there. I'm sure it's because you've got some stray characters in your output that mess it up. It would help if you actually posted the source rather than just saying it's OK, when

Re: [PHP] php and javascript error

2007-03-07 Thread jekillen
On Mar 7, 2007, at 10:24 AM, Ed Curtis wrote: Edward Kay wrote: you've got a stay quote mark in one of your PHP vars. Not it, I looked and there's nothing there. I'm sure it's because you've got some stray characters in your output that mess it up. It would help if you actually posted the

Re: [PHP] php and javascript error

2007-03-07 Thread Tijnema !
Just a little side note, you said that firefox wasn't giving an error, i think it does, but that it hides the error. Open your page, and then go to Tools-javascript console. There it will display all javascript errors. And gives a nice detailed error. Tijnema