Skip to main content
Inspiring
August 15, 2006
Answered

How replacing characters in recordset??

  • August 15, 2006
  • 4 replies
  • 893 views
Hi,

I need to replace some special characters, å ä and ö, in a recordset with å ä and ö

How is that done?

Thnaks!!
This topic has been closed for replies.
Correct answer wavesurfer
Thanks Julian, that just works great now.
Thanks again!!!

4 replies

Inspiring
August 15, 2006
Screenshot here:

http://www.dmxzone.com/showDetail.asp?TypeId=3&NewsId=2043

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004





Inspiring
August 15, 2006
Server.HtmlEncode is in the list of formats that can be applied to a
recordset field in DW.

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004





wavesurferAuthorCorrect answer
Inspiring
August 15, 2006
Thanks Julian, that just works great now.
Thanks again!!!
Inspiring
August 15, 2006
Thanks Julian. However I am not so into programming so could you please help further with the code?
Thanks!!!
Inspiring
August 15, 2006
wavesurfer wrote:
> I need to replace some special characters, ? ? and ?, in a recordset with å ä and ö
>
> How is that done?

It depends which server model you're using. With PHP, pass the recordset
data to htmlentities().

<?php echo htmlentities($row_recordsetName['myVariable']); ?>

--
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/
Inspiring
August 15, 2006
I am using asp. Can it be done then?