From 21455bfd1004c4a3153050ac5995b8dc680c2042 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 27 Jul 2016 16:48:53 +0200 Subject: Class names start with a capital --- include/clients-view.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'include/clients-view.php') diff --git a/include/clients-view.php b/include/clients-view.php index 007d94c..2472a80 100644 --- a/include/clients-view.php +++ b/include/clients-view.php @@ -19,7 +19,7 @@ require_once('./login.php'); -$_client = new client($_pdo, $_id); +$_client = new Client($_pdo, $_id); ?>
@@ -41,22 +41,22 @@ $_client = new client($_pdo, $_id); foreach ($contacts as $contact) { echo " {$contact->getId()} - {$contact->getName()} + {$contact->getName()} - {$contact->getAddress()}
- {$contact->getPostalCode()} - {$contact->getCity()}
- {$contact->getCountry()} + {$contact->getAddress()}
+ {$contact->getPostalCode()} + {$contact->getCity()}
+ {$contact->getCountry()} - {$contact->getLanguage()} + {$contact->getLanguage()} - - + + "; } if (count($contacts) == 0) { - echo "There are no contacts in the database. Why not create one?"; + echo "There are no contacts in the database. Why not create one?"; } ?> -- cgit v1.2.3