Forums

ASP

This topic is locked

URGENT help

Posted 04 Aug 2007 09:12:29
1
has voted
04 Aug 2007 09:12:29 Jaime Romo posted:
hello there i have a big problem and i need help to resolvit
i have a sql table with txt and varchar fields, the txt holds html text or normal text and the varchar has the name of an image
but when i tray to display them on the page it onl apears the image and if i take off the image the text appears how can i make them display boutch.

THANKS

Visit my home page
www.cancuncoral.com

Replies

Replied 04 Aug 2007 09:16:24
04 Aug 2007 09:16:24 Jaime Romo replied:
sorry i forgot tu put the code this is the code im using

<td class="txtNEGRO11"><div align="justify">
<img src="imagenes/textos/<%=(texto.Fields.Item("imagen1".Value)%>" align="left"><%=(texto.Fields.Item("texto".Value)%>
</div></td>

Visit my home page
www.cancuncoral.com
Replied 20 Aug 2007 21:50:04
20 Aug 2007 21:50:04 Jon Jaques replied:
Hello, what version of DreamWeaver are you using? Seems to me that on versions prior to MX2004, which includes an update to protect recordsets against sql injection attacks, that you need to make a modification to the recordset in order to get memo (text) fields to display correctly...

If I remember correctly, I think you need to select the server behaviour in the behaviours panel, and then look at the recordset properties in the panel at the bottom... set it to dynamic, I think? Something like that. Once you make that change, though, your fields should all display correctly.

--J

Reply to this topic