Get ready for BLACK FRIDAY shopping starting in

Forums

ASP

This topic is locked

Replacing Text. PLEASE HELP!

Posted 10 Mar 2004 10:58:34
1
has voted
10 Mar 2004 10:58:34 Billy Griffiths posted:
Hi All
I have a cdonts form with the following code.

body = request("EditorValue"
body = replace(body, "<business_name>", RSSEND("bName")
body = replace(body, "<business_owner>",RSSEND("bOwner")

Why isn't it replacing my text?
Please Help.
Thanx.

Edited by - Billy_Ultrazulu on 10 Mar 2004 11:14:33

Replies

Replied 11 Mar 2004 02:12:32
11 Mar 2004 02:12:32 Phil Shevlin replied:
each statement replaces the prior statement try:

body = request("EditorValue"
body = body & replace(body, "<business_name>", RSSEND("bName")
body = body & replace(body, "<business_owner>",RSSEND("bOwner")

Edited by - wdglide on 11 Mar 2004 02:12:55

Reply to this topic