新闻系统中,上传的图片(不只一张),如何插入到数据库中?50分求救! 你可以一张张的发,一张会一起也就会了啊,用循环啊,while,for.... 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以用javascript来控制出现的图片选择file的按扭个数 <tr class="padd1"> <td><div align="right">图片部分:</div></td> <td><strong> <script language="javascript">function setid(){ str='<br>'; if(!window.form1.upcount.value) window.form1.upcount.value=1; for(i=1;i<=window.form1.upcount.value;i++) str+='<table width="100%" border="0" cellspacing="0" cellpadding="0">'+ '<tr bordercolorlight="#666696" bordercolordark="#cccccc" class="padd1"> '+ ' <td width="31%" height="60" valign="top"> <div align="right"><br>'+ ' 选择文件:<br>'+ ' (<font color="#990000">图片和说明文字</font>)</div></td>'+ ' <td width="69%"><input type="file" name="file[]" size="30"> <br> '+ ' <textarea name="imginfo[]" cols="30" rows="3" id="imginfo[]"></textarea> '+ ' </td>'+ ' </tr>'+ ' </table>'; window.upid.innerHTML=str+'<br>'; } </script> </strong> 需要上传的个数 <input name="upcount" type="text" value="1" size="2"> <input type="button" name="Button" onClick="setid();" value="设定"></td> </tr> 急!请问如何才能捕捉到这个跳转页面? 想买个本本,大家伙儿给推荐下 求助 着急 Delphi for PHP 2.0.0.1011 求教,如何读取一个二进制的xml文件中的内容? 关于php的 除法运算问题 关于intval的一个问题 我在网上下载了一个.sql的文件,我怎么去打开他啊? 能否做到url传送在服务器上运行,以到得到的客户端ip也就是服务器端的ip 我觉得php论坛太冷清,是不是该邀请些高手过来? 我想问一个网站做完后的安装问题 怎么写一个留言本?
<tr class="padd1">
<td><div align="right">图片部分:</div></td>
<td><strong>
<script language="javascript">
function setid(){
str='<br>';
if(!window.form1.upcount.value)
window.form1.upcount.value=1;
for(i=1;i<=window.form1.upcount.value;i++)
str+='<table width="100%" border="0" cellspacing="0" cellpadding="0">'+
'<tr bordercolorlight="#666696" bordercolordark="#cccccc" class="padd1"> '+
' <td width="31%" height="60" valign="top"> <div align="right"><br>'+
' 选择文件:<br>'+
' (<font color="#990000">图片和说明文字</font>)</div></td>'+
' <td width="69%"><input type="file" name="file[]" size="30"> <br> '+
' <textarea name="imginfo[]" cols="30" rows="3" id="imginfo[]"></textarea> '+
' </td>'+
' </tr>'+
' </table>';
window.upid.innerHTML=str+'<br>';
}
</script>
</strong> 需要上传的个数
<input name="upcount" type="text" value="1" size="2"> <input type="button" name="Button" onClick="setid();" value="设定"></td>
</tr>