summaryrefslogtreecommitdiff
path: root/www/get.php
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2018-06-25 21:02:25 +0000
committerIan C <ianc@noddybox.co.uk>2018-06-25 21:02:25 +0000
commit52d3b59d43d1c4894a38d47b9606c0f1cff95156 (patch)
tree55e923759a23288b4bda2c5f24541659c48c0508 /www/get.php
parent22e2906e30fde29271b1a0f1db08023551b9d8ec (diff)
Added group parameter to PHP pages and started on Load functionality.
Diffstat (limited to 'www/get.php')
-rw-r--r--www/get.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/get.php b/www/get.php
index 268bf5b..d42e57e 100644
--- a/www/get.php
+++ b/www/get.php
@@ -29,11 +29,12 @@ try
$index = 0;
- foreach ($db->query("SELECT * FROM pm_store") as $row)
+ foreach ($db->query("SELECT * FROM pm_store ORDER BY id") as $row)
{
$data = array();
$data["id"] = $row["id"];
$data["description"] = $row["description"];
+ $data["group"] = $row["groupname"];
$data["username"] = $row["username"];
$data["password"] = $row["password"];