Forums

This topic is locked

Behaviour - Open Browser Window

Posted 18 Oct 2003 15:41:40
1
has voted
18 Oct 2003 15:41:40 David Nuneaton posted:
I am trying to use the Open Browser Window function in Dreamweaver MX 2004. When I set the link to the called page created with this behaviour to :-

fullimageNoFrame.php?itemid=14

all works OK, thw page is called and the details for itemid number 14 are displayed. However, when I use a dynamic link, setting the URL parameter 'itemid' to a php statement, Dreamweaver chages the link to:-

MM_openBrWindow('fullimageNoFrame.php?itemid=<?php echo $row_rsDetails['itemid']; ?>

When the calling page runs in a browser I get a javascript error

unterminated string constant

on the link to the called page.

Can anyone help please.
Thank you

Replies

Replied 20 Oct 2003 12:04:32
20 Oct 2003 12:04:32 Marja Ribbers-de Vroed replied:
Try changing
<pre id=code><font face=courier size=2 id=code>$row_rsDetails['itemid']</font id=code></pre id=code>
to
<pre id=code><font face=courier size=2 id=code>$row_rsDetails["itemid"]</font id=code></pre id=code>

--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/

Reply to this topic