$sql = "INSERT INTO registration (Name,Email)
VALUES ('$name','$email')";
In the first set of Parenthesis, you have Name and Email capitalized. In the second set, you don't. This brings me to two questions:
a. In your database, are the fields Name and Email capitalized? If so, then this part is fine. If not, change the to lowercase.
b. In your form, are the fields name and email lowercase? If so, then it's fine. If not, then either change the form to lowercase or capitalize here.
Seconldly, as someone earlier suggested, use $POST (or depending on your PHP version $HTTP_POST_VARS). But first make sure the method on your form is set to POST.
$sql = "INSERT INTO registration (Name,Email) VALUES ('" . $_POST["name"] . "','" . $_POST["email"] . "')";
$sql = "INSERT INTO registration (Name,Email) VALUES ('" . $HTTP_POST_VARS["name"] . "','" . $HTTP_POST_VARS["email"] . "')";
You'll need to check the capitalization on these like I mentioned, but here is what your code would look like for both $_POST and $HTTP_POST_VARS
Cgraz