Home  >  Article  >  Backend Development  >  PHP batch upload 2 [with preview]_PHP tutorial

PHP batch upload 2 [with preview]_PHP tutorial

WBOY
WBOYOriginal
2016-07-20 11:06:07739browse

$id = $_GET['id'];
$sql = "select * from biao where pid=".$id;
$res = mysqli_query($conn,$sql);
$num = mysqli_num_rows($res);   //现有多少张图片
$sql1 = "select * from biao where id=".$id;
$res1 = mysqli_query($conn,$sql1);
$row1 = mysqli_fetch_assoc($res1);
$num1 = $row1['p_num'];
$p_name = $row1['p_name'];
?>









添  加  图  片








   


  

现已上传图片张:


  

图片名称1:  


  

图片名称2:  


  

图片名称3:  


  

图片名称4:  


  
  

  



www.bkjia.comtruehttp://www.bkjia.com/PHPjc/445070.htmlTechArticle?php $id = $_GET['id']; $sql = select * from biao where pid=.$id; $res = mysqli_query($conn,$sql); $num = mysqli_num_rows($res); //现有多少张图片 $sql1 = select * from biao...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn