回答編集履歴
1
。
test
CHANGED
@@ -12,9 +12,7 @@
|
|
12
12
|
|
13
13
|
$stmt = $pdo -> prepare($sql);
|
14
14
|
|
15
|
-
$workday = substr($workday,0,10);
|
16
|
-
|
17
|
-
$stmt -> bindParam(':workday',$row['workday'],PDO::PARAM_STR);
|
15
|
+
$stmt -> bindParam(':workday',substr($row['workday'],0,10),PDO::PARAM_STR);
|
18
16
|
|
19
17
|
$stmt -> bindParam(':workgroup',$row['workgroup'],PDO::PARAM_STR);
|
20
18
|
|