Having some issues parsing this batch of php to send form data to my AWS RDS database. I have followed a few tutorials but I seem to end up in the same place.
<?php
$con = mysqli_connect('accountuserdb.cyietmcjutfg.us-east-2.rds.amazonaws.com','redact','redact')
$Email = $_POST('email');
$Username = $_POST('username');
$Userpass = $_POST('password');
$sql = "INSERT INTO useraccounts (Email,Username,Userpass) VALUES ('$Name','$Username','$Userpass')";
header("refresh:2; url="success.html");
?>
I am a little confused as to why I am receiving the parse error? outdated syntax maybe?