In line 31 there is a semicolon that should not appear:
PHP Code:
$sql="INSERT INTO $tbl_name (username, password, email, name, age);
Remove this semicolon and try again.
PHP Code:
$sql="INSERT INTO $tbl_name (username, password, email, name, age)
Line 31 and line 32 should be a single line