Where would I find the query? is it the code I actually have?
here it is if so
$con = mysql_connect("localhost","root","");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("userdetails", $con);
$sql="INSERT INTO users (username, userpass, email)
VALUES
('$_POST[username]','$_POST[password1]','$_POST[email1])";
if (!mysql_query($sql,$con))
{
die(' Error: ' . mysql_error());
}
echo '<font color=\'blue\ size=\'4\'>Welcome to Mythic Aeons';
mysql_close($con);
I belive the line is ('$POST[username]','$POST[password1]','$_POST[email1])";
I tried doing it this way
I belive the line is ('$POST[username]','$POST[password1]','$_POST[email1]');
but only got syntax errors:/