diff --git a/planning.php b/planning.php index 6e580bc..a22d27e 100755 --- a/planning.php +++ b/planning.php @@ -90,7 +90,7 @@ if(isset($_GET['planning']) AND !empty(['planning'])) prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 0 AND num_planning = ? ORDER BY order_start ASC'); - $req1->execute(array(0, $planning)); + $req1->execute(array($planning)); while($r1 = $req1->fetch()) { ?>
@@ -108,7 +108,7 @@ if(isset($_GET['planning']) AND !empty(['planning'])) prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 1 AND num_planning = ? ORDER BY order_start ASC'); - $req1->execute(array(1, $planning)); + $req1->execute(array($planning)); while($r1 = $req1->fetch()) { ?>
@@ -125,7 +125,7 @@ if(isset($_GET['planning']) AND !empty(['planning'])) prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 2 AND num_planning = ? ORDER BY order_start ASC'); - $req1->execute(array(2, $planning)); + $req1->execute(array($planning)); while($r1 = $req1->fetch()) { ?>
@@ -142,7 +142,7 @@ if(isset($_GET['planning']) AND !empty(['planning'])) prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 3 AND num_planning = ? ORDER BY order_start ASC'); - $req1->execute(array(3, $planning)); + $req1->execute(array($planning)); while($r1 = $req1->fetch()) { ?>
@@ -159,7 +159,7 @@ if(isset($_GET['planning']) AND !empty(['planning'])) prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 4 AND num_planning = ? ORDER BY order_start ASC'); - $req1->execute(array(4, $planning)); + $req1->execute(array($planning)); while($r1 = $req1->fetch()) { ?>
@@ -175,7 +175,7 @@ if(isset($_GET['planning']) AND !empty(['planning'])) prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 5 AND num_planning = ? ORDER BY order_start ASC'); - $req1->execute(array(5, $planning)); + $req1->execute(array($planning)); while($r1 = $req1->fetch()) { ?>
@@ -192,7 +192,7 @@ if(isset($_GET['planning']) AND !empty(['planning'])) prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 6 AND num_planning = ? ORDER BY order_start ASC'); - $req1->execute(array(6, $planning)); + $req1->execute(array($planning)); while($r1 = $req1->fetch()) { ?>