$dbuser = "0000000";
$dbname = "0000000";
$dbpass = "0000000";
$dbhost = "0000000";
$table = "table_name";
//connect
mysql_connect($dbhost,$dbuser,$dbpass);
@mysql_select_db($dbname) or die( "Unable to select database");
mysql_query("INSERT INTO $table ( `realname` , `location` , `current` , `username` )
VALUES ( '"$realname', '$location', '$current', '$username')");
what you had to do is put the option under which tab it should be in and the VALUES that it should put in
and dont forget it make a table in the DB
CREATE TABLE `table_name` (
`realname` varchar(30) NOT NULL default '',
`location` varchar(30) NOT NULL default '',
`current` varchar(30) NOT NULL default '',
`username` varchar(30) NOT NULL default ''
);
now you have to finish the rest which is make the forms to submit the values🙂