asp调用特定内容【在线等】

来源:百度知道 编辑:UC知道 时间:2024/05/15 19:42:05
我要调用的全部内容是 <P><IMG src="/1.jpg" border=0></P>

因为要控制图片

我只想要 /1.jpg

请高手帮忙

【在线等】

用MID()

什么意思?

<IMG src="/1.jpg" border=0>就是调用根目录下的1.jpg

表述模糊,请详细表述就会得到想要的回答

你的意思是不是就像头像一样啊!!
用户提交所选种的头像,在显示页面显示对吧!
如果是那样的话你直接提交数字就可以了!
在冲库里面取出来
<IMG src="/<%=rs("字段")%>.jpg" border=0>

你的意思还是在提交页面有一个下拉菜单?选那个图片就变换到那个?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>图片选种后变换</title>
</head>
<script language="javascript">
function changimg(){
a=document.form1.select.value
form1.myimg.src="map/pic/face"+a+".gif"}
</script>
<body>
<form id="form1" name="form1" method="post" action="">
<table width="500" border="1" align="center" cellpadding="1" cellspacing="1" bordercolor=&quo