This would seem to be obvious but I can’t find out the error. Here is my insert code.
if(!in_array($file, $filess)){
mysql_query(“INSERT INTO test VALUES(”$file2",“base64_encode($file2)”)")or die(mysql_error());
and this give me the error: Column count doesn’t match value count at row 1
$file2 is generated from an ftp_nlist()
Here is my create table code:
mysql_query(“CREATE TABLE test(
filename TEXT NOT NULL,
encoded TEXT NOT NULL
)”)or die(mysql_error());
as you can see there is 2 colums… I do not see the error, can someone please help me?