hi guys ,
i am newbie to both the site and PHP as well.. i've written this piece of code to authonticate a user but .. i've come across a problem...
Before i added any of the insert statements the code was working pretty fine , but since adding it it gives me an error -
"You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 SQL"
my insert code goes like this...
$userdins ="insert into log (user_name,l_date,l_time,l_type,l_status)
values ('mihiri','logday','logtime','DBConnect','Success');" ;
$unamedins =mysql_query($userdins,$dbcnx);
the table type is INNODB.. fields are all variable character fields
any help is greatly appreciated..
thanks in advance
malakolama