1 date
2 直接回车,php以;为结束标准

解决方案 »

  1.   

    1.日期与时间函数库
    checkdate: 验证日期的正确性。 
    date: 将伺服器的时间格式化。 
    strftime: 将伺服器的时间本地格式化。 
    getdate: 获得时间及日期资讯。 
    gettimeofday: 取得目前时间。 
    gmdate: 取得目前与 GMT 差后的时间。 
    easter_date: 计算复活节日期。 
    easter_days: 计算复活节与三月廿一日之间日期数。 
    mktime: 取得 UNIX 时间戳记。 
    gmmktime: 取得 UNIX 时间戳记的格林威治时间。 
    time: 取得目前时间的 UNIX 时间戳记。 
    microtime: 取得目前时间的 UNIX 时间戳记的百万分之一秒值。 2.处理方法
    好象直接回车就可以吧,反正我这样用了也好用啊
    可能是我是弱鸟不懂了,下面是我曾经用过的
    $sql="insert into existstu(
    stu_name,sex,photopath,stu_no,birth,fromwhere,nation,policy,date_in,date_out,
    xuezhi,status,form,college,major,grade,class,address,coonect,comment)
    values('$stu_name','$sex','$filename','$stu_no','$birth','$fromwhere',
    '$nation','$policy','$date_in','$date_out','$xuezhi','$status','$form',
    '$college','$major','$grade','$class','$address','$connect','$comment')";