INSERT INTO devices3 (`name`, `ip`, `port`, `switch`) VALUES (name, 255.255.255.255, 55555, 12);
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.255.255, 55555, 12)' at line 1.
+--------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------+-------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | name | char(25) | YES | | NULL | | | ip | varchar(15) | YES | | NULL | | | port | int(5) | YES | | NULL | | | switch | int(4) | YES | | NULL | | +--------+-------------+------+-----+---------+----------------+
why is this not working?