dreamweaver 和 mysql 连接找不到文件的疑惑...
<?php require_once('../Connections/connection.php'); ?>
<?php
mysql_select_db($database_connection, $connection);
$query_rs1 = "SELECT * FROM member";
$rs1 = mysql_query($query_rs1, $connection) or die(mysql_error());
$row_rs1 = mysql_fetch_assoc($rs1);
$totalRows_rs1 = mysql_num_rows($rs1);
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_connection = "localhost";
$database_connection = "mydatabase";
$username_connection = "wingyip";
$password_connection = "5602895";
$connection = mysql_pconnect($hostname_connection, $username_connection, $password_connection) or trigger_error(mysql_error(),E_USER_ERROR);
mysql_free_result($rs1);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<table width="534" height="105" border="1" align="center">
<tr>
<td>编号</td>
<td>账号</td>
<td>密码</td>
<td>姓名</td>
<td>性别</td>
<td>出生年月日</td>
<td>电子邮件</td>
<td>电话</td>
<td>地址</td>
</tr>
<tr>
<td><?php echo $row_rs1['id']; ?></td>
<td><?php echo $row_rs1['username']; ?></td>
<td><?php echo $row_rs1['password']; ?></td>
<td><?php echo $row_rs1['name']; ?></td>
<td><?php echo $row_rs1['sex']; ?></td>
<td><?php echo $row_rs1['birthday']; ?></td>
<td><?php echo $row_rs1['email']; ?></td>
<td><?php echo $row_rs1['phone']; ?></td>
<td><?php echo $row_rs1['address']; ?></td>
</tr>
</table>
</body>
</html>
上面是 showrecord.php 文件的代码
运行的时候 显示 Fatal error: require_once() [function.require]: Failed opening required '../Connections/connection.php' (include_path='.;C:\php5\pear') in C:\AppServ\www\example\showrecord.php on line 1
可是 '../Connections/connection.php' 这个文件确实在那里啊...
这是为什么呢??