Mailing List code...

A

Anonymous

Guest
It's a simple query,
just create a form and then send info to the database:
The Mysql table "mailing":
Id - autoincremnt, key, unique, etc...
name - varchar 255
email - varchar 255
The php:
Code:
$table = "mailing";
$sql= "INSERT INTO ".$table." VALUES ( NULL,'$user_name','$user_email' )";

That's it!
If you have further problems just scream :D
 
Back
Top