Kibifsbrusa
New Member
I'm using wamp server. And I use dreamweaver to create php files.Here is my code:\[code\] -untitled.php <?php include 'E:\wamp\www\PHP\connection.php'; $query ="SELECT * FROM students"; $result = mysql_query($query); while($students = mysql_fetch_array($result)) { echo "<h3>".$students['LNAME'] ."</H3>"; } ?> <h1>Create A user</h1><form action="create.php" method="post"><input type="text" name="LName" value="" /><input type="text" name="FName" value="" /><input type="text" name="MName" value="" /><input type="text" name="GradeOrYear" value="" /><input type="text" name="Address" value="" /><br/> <input type="submit" name="Submit" value="" /></form>\[/code\] \[code\] -Connection.php <?php $dbhost = 'localhost'; $dbuser- 'root'; $dbpass= ''; $dbname = 'koro'; $conn =mysql_connect($dbhost, $dbuser, $dbpass); mysql_select_db($db); ?>\[/code\]But I get this error:http://www.mypicx.com/01172010/rs/Please, how can I fix this error?