Skip to content

Commit

Permalink
Added captial letters filtering to previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Idealcoder committed Aug 9, 2013
1 parent 490e7d3 commit 30f6a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 30f6a51

Please sign in to comment.