SQL Statements simplified and some bugfixing
This commit is contained in:
@@ -36,11 +36,11 @@
|
||||
// setup location
|
||||
// build query
|
||||
$query = "SELECT
|
||||
location.location_name AS location_name
|
||||
location_name
|
||||
FROM
|
||||
location
|
||||
WHERE
|
||||
location.location_id=" . $location_id;
|
||||
location_id=" . $location_id;
|
||||
|
||||
// run query
|
||||
$location = $db->db_select($query);
|
||||
|
||||
Reference in New Issue
Block a user