"<image src="& img &" width='180'></image>"
if img="" then
temp_content=str_content
else
temp_content=str_content & "<image src="& img &" width='180'></image>"
end if
sqlnewid="SET NOCOUNT ON insert into tsy_dating_reply(Hdid,reply_user_id,reply_content) "
sqlnewid=sqlnewid & " values("&str_id&",'"&session("user_id")&"','"&temp_content&"') "
sqlnewid=sqlnewid & " select @@IDENTITY As NewID"
Microsoft OLE DB Provider for SQL Server 错误 '80040e14'
现在这样保存进去,temp_content里面既有文字,又有图片
但我所想实现的是保存文字和图片的格式到数据库里面,然后再输出这个字段出来
reply_content的字段类型为varchar
是不是temp_content=str_content & "<image src="& img &" width='180'></image>"这句话我写错了,那该怎么写呢?
问题点数:20、回复次数:4Top
1 楼dcwang(帆洲)回复于 2004-08-03 15:58:01 得分 5
"<image src="& img &" width='180'></image>"错了.
应该写成如下的吧.
<img src="& img &" width="180" >Top
2 楼smallyear(再見理想)回复于 2004-08-03 16:13:20 得分 5
"<img src="& img &" width='180'></image>"Top
3 楼smallyear(再見理想)回复于 2004-08-03 16:13:35 得分 5
"<img src="& img &" width='180'>"Top
4 楼zorou_fatal(The world and system is even)回复于 2004-08-03 16:17:42 得分 5
"<image src="& img &" width=""180""></image>"
'是存不到sql server里的Top
相关问题
- <img src="Images/arrow3.gif" width="29" height="11"> 怎么下载到该图片到本机
- 匹配img的src
- 急!!!!图片做“登陆“按钮 应该怎么写??/??img src="images/button.jpg" width="66" height="22" id="butok" runat="server">
- 用正则表达式如何从<IMG height=55 src="http://www.gobygo.com/TheGoByGo/images/book-channel.gif" width=210 border=0>中获取http://w
- 在iis6中 无法使用 <img src="common/checkcode.asp" width="56" height="19"> (不好意思,只有这点分了)
- 怎样判定<img src="http:www.name.com/image/name.gif">一定有该图。或者说一定
- 问个<img src=***>的问题
- 用什么正则表达式可以查找出一个html文件中的图片标记,比如<img src="http://www.csdn.net/images/homeimage/top_1.gif" width="20" heig
- 关于<img src>格式的问题
- img src=字符串变量可以吗?




