need help with php script

hello,

how can i add more than one thing in the database

this is my php code:

<?PHP

//Database Information

$dbhost = "************";
$dbname = "********";
$dbuser = "*****";
$dbpass = "************";

//Connect to database


mysql_connect ( $dbhost, $dbuser, $dbpass)or die("Could not connect: ".mysql_error());
mysql_select_db($dbname) or die(mysql_error());


$query = "INSERT INTO NetworkLogin ".
        "(username,password) VALUES ".
        "(".$_REQUEST['username'].",'".$_REQUEST['password']."',NOW());";

$result = mysql_query($query);
$rows = mysql_affected_rows($result);
echo "good";

?>

this didn’t works
how can i ad the username and password.

i hope someone kan help me

thanks!

"('".$_REQUEST['username']."','".$_REQUEST['password']."');";

Having given you that, please find a professional to help you with that. You are storing the password insecurely and it’s driving me nuts. You’re bound to make other security errors.

Edit: Oh, and it’s got huge gaping security holes. People could erase your database very easily, with scriptkiddie scripts.