try
------------------------------------------------
$p_q=mysql_query("INSERT INTO flash1 VALUES('".$name."','".$imgurl."','".$author."','".$date."',".$cid.",'".$recommend."',".$visit.",".$howbig.",".$score.",'".$brief_introduction."',".$author_id.",'".$flashurl."');";

解决方案 »

  1.   

    '2006-08-03,19:07:35'时间格式有问题,改成'2006-08-03 19:07:35'
    或者把时间字段改成varchar类型
      

  2.   

    你的代码我测试通过mysql 4.1.13
      

  3.   

    Suggest you use "insert into table (list of columns) values (list of values)"and in the example, you can skip the primary key.
      

  4.   

    呵呵 ,我还是同意2楼的意见用 '" . $abc . "'这样的格式~~~应该没问题的~~
      

  5.   

    $p_q=mysql_query("INSERT INTO flash1 VALUES(,'".$name."','".$imgurl."','".$author."','".$date."',".$cid.",'".$recommend."',".$visit.",".$howbig.",".$score.",'".$brief_introduction."',".$author_id.",'".$flashurl."');";
     试试!!
      

  6.   

    把QUERY语句改成字符串表示
    然后ECHO 
    看结果能出来吗。在插入数据库