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!