From 30f6a513c6817d084343b8853495570dbc790e62 Mon Sep 17 00:00:00 2001 From: Idealcoder Date: Fri, 9 Aug 2013 16:43:50 +0100 Subject: [PATCH] Added captial letters filtering to previous commit --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index 6e8d6eb..7b5d11a 100644 --- a/api.php +++ b/api.php @@ -165,7 +165,7 @@ $results = array(); while ($row = $stmt->fetch()) { - $results["results"][]=ucwords($row["name"]); + $results["results"][]=ucwords(strtolower($row["name"])); } echo json_encode($results);