Php Html赢得';在internet上无法正常加载,但在dreamweaver上可以正常加载
我正在使用AdobeDreamweaver用php和html创建一个网站,由“000webhost.com”免费托管。因此,在我的一个页面中,特别是在我的“inventory_list.php”页面中,我有一个带有输入字段的表 在Dreamweaver上看起来像这样: 但当我在互联网上加载它时,它看起来是这样的: 放大: 它不显示表的其余部分和页面的其余部分 这是我的inventory_list.php:Php Html赢得';在internet上无法正常加载,但在dreamweaver上可以正常加载,php,html,user-interface,web,Php,Html,User Interface,Web,我正在使用AdobeDreamweaver用php和html创建一个网站,由“000webhost.com”免费托管。因此,在我的一个页面中,特别是在我的“inventory_list.php”页面中,我有一个带有输入字段的表 在Dreamweaver上看起来像这样: 但当我在互联网上加载它时,它看起来是这样的: 放大: 它不显示表的其余部分和页面的其余部分 这是我的inventory_list.php: 库存清单 库存清单 添加新的库存表格 品名 产品价格 Php 类别 美国篮球
库存清单
库存清单
添加新的库存表格
品名
产品价格
Php
类别
美国篮球职业联盟
PBA
大小
s
M
L
产品详情
产品形象
您没有正确关闭
。您让它自动关闭(
),而不是
您的修改代码如下,带有
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Inventory List</title>
<link rel="stylesheet" href="../style/style.css" type="text/css" media="screen" />
</head>
<body>
<div align="center" id="mainWrapper">
<?php include_once("../template_header.php");?>
<div id="pageContent"><br/>
<div align="center" id="mainWrapper">
<?php include_once("../template_header.php");?>
<div id="pageContent"><br/>
<div align = "right" style="margin-right:32px;"><a href="#inventory_list.php#inventoryForm">+ Add New T-Shirt</a></div>
<div align="left"style="margin-left:24px">
<h2>Inventory List</h2>
<?php echo $product_list; ?>
<p></p>
</div>
<a name="inventorForm" id="inventoryForm"></a>
<h3>Add New Inventory Form</h3>
<form action="inventory_list.php" enctype="multipart/form-data" name="myForm" id="myForm" method="post">
<table width="646" border="1">
<tbody>
<tr>
<td width="131">Product Name </td>
<td width="339"><label><input name="product_name" type="text" id="prdouct_name" size="60"/> </label></td>
</tr>
<tr>
<td>Product Price </td>
<td><label>Php <input name="productPrice" type="text" id="productPrice" size="20"/> </label></td>
</tr>
<tr>
<td>Category </td>
<td><label><select name="category" id="category">
<option value=""></option>
<option value="NBA">NBA</option>
<option value="PBA">PBA</option>
</select></label></td>
</tr>
<tr>
<td>Size</td>
<td><label><select name="size" id="size">
<option value=""></option>
<option value="small">S</option>
<option value="medium">M</option>
<option value="large">L</option>
</select></label></td>
</tr>
<tr>
<td>Product Details </td>
<td><label><textarea name="productDetails" type="textarea" id="productDetails" cols="64" rows="5"></textarea></label></td>
</tr>
<tr>
<td>Product Image </td>
<td><label><input type="file" name = "fileField" id="fileField" /> </label></td>
</tr>
<tr>
<td> </td>
<td><label><input type="submit" name="button" id="button" value="Add this item now"/></label></td>
</tr>
</tbody>
</table>
</form>
<br />
<br />
<br />
</div>
<div>
</div>
</div>
</body>
</html>
库存清单
库存清单
添加新的库存表格
品名
产品价格
Php
类别
美国篮球职业联盟
PBA
大小
s
M
L
产品详情
产品形象
谢谢!很抱歉在stackoverflow中出现这个小问题。我不太喜欢html,这是我第一次编写php。无论如何,非常感谢!:)