HighDots Forums  

Unterminated String Constant

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Unterminated String Constant in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
p.g.
 
Posts: n/a

Default Unterminated String Constant - 07-06-2004 , 06:13 AM






Hi All,

I am hoping some of you good people can help me with this problem.

The code below is part of a refer a friend page I want to put on my site. I
get and "Unterminated String Constant" for "<%= varREFERINGPAGE %>"
when I post the page. varREFERINGPAGE is the name of the refering paging
and works fine if I just display it on the page but as part of a mail the
lets the friend click back to the refered page it dosn't work. The page
won't even load.

sEmailText = sEmailText & "<a href='" & "<%= varREFERINGPAGE %>" & "'
target='_blank'>" & ">> Click here to view Job Details" & "</a>"

If I change "<%= varREFERINGPAGE %>" to say "http://www.cnn.com " the
link works fine. The email reciptiant can click and get to cnn

I really can't figure this one out. Unterminated String Constant seemd to me
a lack of closing "'s etc. but I can't find the problem.

Your help would really be appreciated.

Joe






Reply With Quote
  #2  
Old   
Jeff North
 
Posts: n/a

Default Re: Unterminated String Constant - 07-07-2004 , 12:32 PM






On Tue, 6 Jul 2004 11:13:42 +0100, in macromedia.dreamweaver "p.g."
<p.g (AT) nospam (DOT) oceanfree.net> wrote:

Quote:
| Hi All,
|
| I am hoping some of you good people can help me with this problem.
|
| The code below is part of a refer a friend page I want to put on my site. I
| get and "Unterminated String Constant" for "<%= varREFERINGPAGE %>"
| when I post the page. varREFERINGPAGE is the name of the refering paging
| and works fine if I just display it on the page but as part of a mail the
| lets the friend click back to the refered page it dosn't work. The page
| won't even load.
|
| sEmailText = sEmailText & "<a href='" & "<%= varREFERINGPAGE %>" & "'
| target='_blank'>" & ">> Click here to view Job Details" & "</a>"
|
| If I change "<%= varREFERINGPAGE %>" to say "http://www.cnn.com " the
| link works fine. The email reciptiant can click and get to cnn
|
| I really can't figure this one out. Unterminated String Constant seemd to me
| a lack of closing "'s etc. but I can't find the problem.
|
| Your help would really be appreciated.
Where are you placing this code - server-side or client-side.

Server-side:
sEmailText = sEmailText & "<a href='" & varREFERINGPAGE & "'
target='_blank'>" & ">> Click here to view Job Details" & "</a>"

Client-Side:
sEmailText = sEmailText & "<a href='" & <%= varREFERINGPAGE %> & "'
target='_blank'>" & ">> Click here to view Job Details" & "</a>"


Reply With Quote
  #3  
Old   
p.g.
 
Posts: n/a

Default Re: Unterminated String Constant - 07-09-2004 , 09:11 AM



Jeff,

Thanks a lot. Problem solved thanks to you.

Joe


"Jeff North" <jnorth (AT) yourpantsbigpond (DOT) net.au> wrote

Quote:
On Tue, 6 Jul 2004 11:13:42 +0100, in macromedia.dreamweaver "p.g."
p.g (AT) nospam (DOT) oceanfree.net> wrote:

| Hi All,
|
| I am hoping some of you good people can help me with this problem.
|
| The code below is part of a refer a friend page I want to put on my
site. I
| get and "Unterminated String Constant" for "<%= varREFERINGPAGE %>"
| when I post the page. varREFERINGPAGE is the name of the refering
paging
| and works fine if I just display it on the page but as part of a mail
the
| lets the friend click back to the refered page it dosn't work. The page
| won't even load.
|
| sEmailText = sEmailText & "<a href='" & "<%= varREFERINGPAGE %>" & "'
| target='_blank'>" & ">> Click here to view Job Details" & "</a>"
|
| If I change "<%= varREFERINGPAGE %>" to say "http://www.cnn.com "
the
| link works fine. The email reciptiant can click and get to cnn
|
| I really can't figure this one out. Unterminated String Constant seemd
to me
| a lack of closing "'s etc. but I can't find the problem.
|
| Your help would really be appreciated.

Where are you placing this code - server-side or client-side.

Server-side:
sEmailText = sEmailText & "<a href='" & varREFERINGPAGE & "'
target='_blank'>" & ">> Click here to view Job Details" & "</a>"

Client-Side:
sEmailText = sEmailText & "<a href='" & <%= varREFERINGPAGE %> & "'
target='_blank'>" & ">> Click here to view Job Details" & "</a>"



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.