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