<?php
<$conn=mysql_connect("localhost","root","root");
echo("connected");
if(!$conn)
{
die('could not connect:'.mysql_error());
}
mysql_select_db("student",$conn);
if (!mysql_select_db('student', $conn)) {
echo 'Could not select database';
exit;
}
?>
This the code..Using which I want to connect but getting the error:
Parse error: parse error in c:\apache\htdocs\phpmyadmin\connection.php on line 6
Plz help