img标签仅在旁边有另一个img标签时出现

时间:2015-06-18 03:21:26

标签: html image

您好,我这里有一个HTML。 img标记仅在其旁边有另一个标记时出现。这是目录。当我删除其他img标记时,图像不会出现 图片   - e:/html/lmcl.png HTML   - e:/html/firstproject.html              第一个网站          

    <div id="wrapper">

        <div id="main-nav>

            <img src="lmcl.png" alt="Wake Forest Baptist Health Lexington Medical Center">
            <img src="lmcl.png" alt="Wake Forest Baptist Health Lexington Medical Center">

        </div>

    </div>
</body>

1 个答案:

答案 0 :(得分:0)

您错过了收尾报价。

$i = 0;
//using $user_count-1 because $i needs to start at 0 to represent the indexes and it also prevents the statement from being looped an extra time.
while($i <= $user_count-1) {
if($result = $conn->query("SELECT * FROM wp_users")) {
    if($count = $result->num_rows) {
        //echo $count . ' users found.';

        while($row = $result->fetch_object()) {
            $user_password[] = $row->user_pass;
$stmt = $conn->prepare("UPDATE `wp_plugin_development`.`wp_users` SET `user_pass` = ? WHERE `user_login` = ?");
$stmt->bind_param('ss', $user_password[$i], $user_login[$i]);
        }
    }  
$i++; 
if(!$stmt->execute()){trigger_error("there was an error....".$conn->error, E_USER_WARNING);}
}