我正在将用户上传的文件移动到正在工作的目录:
move_uploaded_file($_FILES["foto"]["tmp_name"], "Uploaded_Fotos/" . $_FILES["foto"]["name"]);
我无法在表格中显示这张照片:
while($FormDataRow = mysql_fetch_array($formDataSQLObj))
{
$Imagepath = "Uploaded_Fotos/";
echo "<tr>";
echo "<td>";
echo "<img src='$Imagepath.$FormDataRow[16]'/>";
echo "</td>";
echo "</tr>";
}
我通过回显它检查了 src,它似乎是正确的:Uploaded_Fotos/IMG_20130511_175116.jpg
仅显示空图标。怎么了?