Home > Backend Development > PHP Tutorial > 获取mysql图片途径显示到网页

获取mysql图片途径显示到网页

WBOY
Release: 2016-06-13 13:14:41
Original
794 people have browsed it

获取mysql图片路径显示到网页
数据库里面 picture 是varchar类型 id.1的值是 c:\mypic\yyh.jpg

echo "

\"images\"/";这一段不会写 :

全部代码如下 :

$titlesql="select id,name,born,gender,identity_card,picture from myfamily;";
?>


   
 
 
 
 
 
 
 
  
while($title=mysql_fetch_array($titleresult)){
echo " ";
  echo "";
  echo "";
  echo "";
  echo "";
  echo "";  
  echo ""; 
  echo "";
}
echo "
id name born gender identity_card picture
$title[id]$title[name]$title[born]$title[gender]$title[identity_card]\"images\"/
";
?>

------解决方案--------------------
少了引号
echo " 获取mysql图片途径显示到网页 ";
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template