我是这么写的:a.php文件
<?php
$f="select * from deal where user_id='$id'"; $res_f=$conn->query($f); while($row_f=$res_f->fetch_assoc()) {
?>
<a href="b.php&id=<?php echo $row_f["id"]?>">
<?php echo $row_f["name"]?>
</a> <?php
}
?>
b.php文件
<?php
$id = $_GET['id'];
?>
<input type=text value='$id'/>
当我点击a.php文件的超链接a时 报错404
The requested URL /index.php was not found on this server我这里根本没有那个到index.php 啊
我是个新手,各位大侠帮忙啊php
<?php
$f="select * from deal where user_id='$id'"; $res_f=$conn->query($f); while($row_f=$res_f->fetch_assoc()) {
?>
<a href="b.php&id=<?php echo $row_f["id"]?>">
<?php echo $row_f["name"]?>
</a> <?php
}
?>
b.php文件
<?php
$id = $_GET['id'];
?>
<input type=text value='$id'/>
当我点击a.php文件的超链接a时 报错404
The requested URL /index.php was not found on this server我这里根本没有那个到index.php 啊
我是个新手,各位大侠帮忙啊php
<?php echo $row_f["name"]?>
</a> <input type=text value='$id'/> 这个$id也不能解析吧,用echo输出才行。