Hi, am new to php and have installed wamp but the problem is that my php code is not executed in the my web browser.Like the following is not executed;


Code:
<?php
$student_name=$_POST[student_name];
$year_of_study=$_POST[year_of_study];
$email=$_POST[email];
$reg_no=$_POST[reg_no];
$password+=$_POST[password];
try{
$host="localhost";
$username="root";
$password="";
...