neotrace
01-28-2002, 06:45 PM
ok, this is a php script that logs into a mysql database w/a speicfied username and password, that part works fine. The problem is with the log (the final if statement) that is suppose to write that information to the database? Any ideas?
create table log (
id int auto_increment not null,
name tinytext,
pass tinytext,
time timestamp(14),
primary key(id)
else{
$query = "insert into log (name,pass) values ('$USERNAME','$PASSWORD')";
$rs = mysql_query($query, $login->db_link);
}
?>
[ 28 January 2002: Message edited by: neotrace ]
create table log (
id int auto_increment not null,
name tinytext,
pass tinytext,
time timestamp(14),
primary key(id)
else{
$query = "insert into log (name,pass) values ('$USERNAME','$PASSWORD')";
$rs = mysql_query($query, $login->db_link);
}
?>
[ 28 January 2002: Message edited by: neotrace ]