-3
我为办公室工作创建了一个简单的业务管理设置。首先我从数据库中获取所有信息。除了数量输入之外,一切进展顺利。呼应任何特定客户到特定项目
我在php中创建了一个简单的客户端 - 支付系统。在这第一次添加任何客户端它做的很简单,所有的客户端显示在一个简单的页面,当点击一个客户端名称,然后这个页面在项目页面上添加新的项目名称,然后所有的项目都显示在这个页面上。我想perticualr客户名称pericular项目展示
<?php session_start(); include("sidebar.php"); include "config.php"; $sel="select * from new_project"; $rs=mysql_query($sel); ?>
<div class="h_right">
<h1> <a href="new_project.php?id=<?php echo $rec['id'] ?>">+ADD New Project</a> </h1>
</div>
<div class="h_left">
<table border="2px" cellpadding="10px">
<tr>
<td>Id</td>
<td>Project Name</td>
</tr>
<?php while($rec=mysql_fetch_assoc($rs)) { ?>
<tr>
<td><?php echo $rec['id'] ?></td>
<td><a href="projectdetail.php?><?php echo $rec['project_name'] ?></a></td>
<?php } ?>
</table>
</div>
此错误显示 警告:D:\ xampp \ htdocs \ project \ clientde中的非法字符串偏移'project_name'第19行的tail.php 8 –