I've just begun to attempt to read and write to mySql and was starting with a simple applications.
It's a flash form that sends the variables out as a POST.
Here is my PHP file with (what I thought) would add the results of the form into mySql table.
What did I do wrong?
require_once("common.php"); // database connection settings.
mysql_select_db($database_PD, $PD);
$realname = $_POST["realnamevar"];
$username = $_POST["usernamevar"];
$mypass = $_POST["passvar"];
$query = "INSERT INTO members ( id , realname , username , pass )
VALUES (NULL , '$realname', '$username', '$mypass');
mysql_query($query);