From 7b59091bda702e3d9907d5a14d248bf241c15df7 Mon Sep 17 00:00:00 2001 From: cflem Date: Thu, 29 Dec 2016 15:05:24 -0700 Subject: Added categories to job ads --- dash/headless.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dash/headless.php') diff --git a/dash/headless.php b/dash/headless.php index 16693cd..98b0d9b 100644 --- a/dash/headless.php +++ b/dash/headless.php @@ -12,10 +12,14 @@ if ($result->num_rows) {

Uncategorized

'.PHP_EOL; + else + echo '

'.htmlentities($row['cat_name']).'

'.PHP_EOL; if (is_null($row['rating'])) echo '

Employer Not Rated

'.PHP_EOL; else - echo '

'.$row['rating'].' Star Employer

'.PHP_EOL; + echo '

'.intval($row['rating']).' Star Employer

'.PHP_EOL; ?>

Pays $

[...]

-- cgit v1.2.3