Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in view_day.php on line 116
오타

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 'from schedule_table where DATE_FORMAT(rtime, '%Y-%c-%e') = '--'' at line 2

여긴

$query = " select id, subject, DATE_FORMAT(rtime, '%k') as rhour,
    description, recordtype, completed, from schedule_table
    where DATE_FORMAT(rtime, '%Y-%c-%e') = '$sYear-$sMon-$sDay' ";

이곳에서 ,이 잘못 들어가서 에러가났다.



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 ') and A.intRequest_de=1 order by A.intNum desc' at line 1

이곳에서 ) 부터 쿼리문이 잘못 되어서 그렇다 









} 확인


오타나 빠진 부분이 있는지 확인한다.

Warning: Wrong parameter count for substr() in

파라미터 갯수틀릴경우

.substr("0" ,$sMon, strlen($sMon) -1, 2).

.substr("0" .$sMon, strlen($sMon) -1, 2).

빨강색으로 ,(콤마)와 .(점)이 문제였습니다.

 

+ Recent posts