RSS Feed

Atom Server

Posted on Saturday, January 27, 2007 in ww2

Atom Server
Atom Server

Problem with mySQL, can't insert data into database?

I need some review on inserting a row into a table, here's the code
$sql_query = mysql_query("INSERT INTO elements (name, symbol, atom_num, atom_mass, group, period) VALUES ('$name', '$symbol', '$atom_num', '$atom_mass', '$group', '$period')") or die (mysql_error());

and when I submit it it says:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''group', 'period') VALUES ('Hydrogen', 'H', '1', '1.008', '2', '1')' at line 1

I don't think I'm doing anything wrong, but apparently I am, could anyone point out what is wrong with it?
Thanks in advance!
I renamed 'group' with 'column' but the same thing happened, and group is a tinyint, and atom_mass is a float int.
When i remove group from the query, it executes fine.

You can still put the `group` entry in the query, but surround the word `group` with the weird apostrophe found by pressing the button next to the number 1. That will tell mysql that it's definitely a field and not a command

SuperMicro Intel Atom CPU 330 160Ghz 1U Server 1 GB Mem and 250 GB HDD SuperMicro Intel Atom CPU 330 160Ghz 1U Server 1 GB Mem and 250 GB HDD US $189.00 10h 42m
SuperMicro Intel Atom CPU 330 160Ghz 1U Server 2 GB Mem and 250 GB HDD SuperMicro Intel Atom CPU 330 160Ghz 1U Server 2 GB Mem and 250 GB HDD US $199.00 10h 41m
New SUPERMICRO SYS 5015A PHF 1U Intel Atom D510 Dual Gigabit LAN w IPMI Server New SUPERMICRO SYS 5015A PHF 1U Intel Atom D510 Dual Gigabit LAN w IPMI Server US $299.00 49m
1U Supermicro Intel D525 Atom Server Barebone front USB 1U Supermicro Intel D525 Atom Server Barebone front USB US $179.00 8d 6h 25m
Foxconn System Server R10 D4 Intel Atom D525 NM10 DDR2 SATA GMA 150W Mini ITX Foxconn System Server R10 D4 Intel Atom D525 NM10 DDR2 SATA GMA 150W Mini ITX US $139.99 28d 10h 55m
Supermicro Intel Atom D525 Front 1U Rackmount Server Supermicro Intel Atom D525 Front 1U Rackmount Server US $299.95 24d 15h 51m
1U Supermicro D510 Atom Server 2GB ram 320GB hdd 1U Supermicro D510 Atom Server 2GB ram 320GB hdd US $393.00 26d 2h 5m
SuperMicro Intel Atom D510 Dual Core 16GHz 1U Server SuperMicro Intel Atom D510 Dual Core 16GHz 1U Server US $150.00 27d 9h 19m
New Mini ITX Portable Fanless Intel Atom CPU Barebone Desktop PC Server Car Boat New Mini ITX Portable Fanless Intel Atom CPU Barebone Desktop PC Server Car Boat US $139.99 22d 17h 13m
Supermicro SuperServer SYS 5015A PHF Atom D510 1U Rackmount Server Barebone Syst Supermicro SuperServer SYS 5015A PHF Atom D510 1U Rackmount Server Barebone Syst US $379.99 28d 3h
Supermicro SuperServer SYS 5015A EHF D525 Atom D525 1U Rackmount Server Barebone Supermicro SuperServer SYS 5015A EHF D525 Atom D525 1U Rackmount Server Barebone US $427.99 29d 9h 31m
1U Supermicro Intel D525 Atom Server SSD included 1U Supermicro Intel D525 Atom Server SSD included US $285.00 28d 6h 34m
1U Supermicro D510 Atom Server Barebone 1U Supermicro D510 Atom Server Barebone US $278.00 26d 2h
Cisco Nss 326 Network Storage Server Intel Atom D510 166 Ghz 6 Tb 6 X 1 Tb Cisco Nss 326 Network Storage Server Intel Atom D510 166 Ghz 6 Tb 6 X 1 Tb US $3,044.91 29d 20h 16m
Cisco Nss 322 Network Storage Server Intel Atom D510 166 Ghz 4 Tb 2 X 2 Tb Cisco Nss 322 Network Storage Server Intel Atom D510 166 Ghz 4 Tb 2 X 2 Tb US $1,314.63 29d 23h 37m
Thecus N4200eco Network Storage Server Intel Atom D525 Rj 45 Network Type A Thecus N4200eco Network Storage Server Intel Atom D525 Rj 45 Network Type A US $624.99 26d 39m
Thecus N4200 Network Storage Server Intel Atom D510 166 Ghz rj 45 Network Thecus N4200 Network Storage Server Intel Atom D510 166 Ghz rj 45 Network US $715.95 26d 39m
Turbo Nas Ss 839 Pro Network Storage Server Intel Atom 16ghz Rj 45 Network Turbo Nas Ss 839 Pro Network Storage Server Intel Atom 16ghz Rj 45 Network US $901.62 26d 40m
1U Supermicro D510 Atom X7SPA H Server 4GB ram 1TB 1U Supermicro D510 Atom X7SPA H Server 4GB ram 1TB US $469.00 26d 2h 11m
Netgear Readynas Rndu2120 Network Storage Server 1 X Intel Atom 1800000000hz Netgear Readynas Rndu2120 Network Storage Server 1 X Intel Atom 1800000000hz US $532.26 25d 18h 28m
Netgear Readynas Rndu2220 Network Storage Server 1 X Intel Atom 1800000000hz Netgear Readynas Rndu2220 Network Storage Server 1 X Intel Atom 1800000000hz US $720.34 25d 18h 28m
Netgear Readynas Rndp2220 Network Storage Server 1 X Intel Atom 1800000000hz Netgear Readynas Rndp2220 Network Storage Server 1 X Intel Atom 1800000000hz US $1,537.13 25d 15h 35m
Netgear Readynas Rndp4410 Network Storage Server 1 X Intel Atom 1660000000hz Netgear Readynas Rndp4410 Network Storage Server 1 X Intel Atom 1660000000hz US $1,353.99 25d 15h 35m
Netgear Readynas Rndp4420 Network Storage Server 1 X Intel Atom 1660000000hz Netgear Readynas Rndp4420 Network Storage Server 1 X Intel Atom 1660000000hz US $3,047.91 25d 15h 34m
Supermicro SYS 5015A PHF Supermicro Server Barebone SYS 5015A PHF 1U Atom D510 D Supermicro SYS 5015A PHF Supermicro Server Barebone SYS 5015A PHF 1U Atom D510 D US $405.44 22d 7h 13m
QNAP D510 TS 559 Pro Turbo Atom 5 Bay Tower NAS Server QNAP D510 TS 559 Pro Turbo Atom 5 Bay Tower NAS Server US $993.50 25d 15h 10m
Netgear ReadyNAS Ultra 2 RNDU2120 100NAS Network Storage Server Atom 180GHz 2TB Netgear ReadyNAS Ultra 2 RNDU2120 100NAS Network Storage Server Atom 180GHz 2TB US $503.51 28d 11h 40m
LaCie 5big 301533U Network Storage Server Intel Atom D410 160 GHz 10 TB LaCie 5big 301533U Network Storage Server Intel Atom D410 160 GHz 10 TB US $2,099.99 23d 11h 47m
Iomega 35658 StorCenter px6 300d Network Storage Server Intel Atom 180 GHz 6TB Iomega 35658 StorCenter px6 300d Network Storage Server Intel Atom 180 GHz 6TB US $1,252.34 22d 11h 25m
1U Supermicro Intel D525 Atom Server Barebone 1U Supermicro Intel D525 Atom Server Barebone US $199.00 16d 8h 8m
Netgear ReadyNAS RNDU6000 100NAS Network Storage Server 1 x Intel Atom 166 GHz Netgear ReadyNAS RNDU6000 100NAS Network Storage Server 1 x Intel Atom 166 GHz US $819.71 22d 11h 24m
LG N4B2 Network Storage Server 1 x Intel Atom D510 160 GHz RJ 45 Network LG N4B2 Network Storage Server 1 x Intel Atom D510 160 GHz RJ 45 Network US $692.69 19d 8h 10m
Netgear ReadyNAS RNDU4220 100NAS Network Storage Server Intel Atom 166 GHz 4TB Netgear ReadyNAS RNDU4220 100NAS Network Storage Server Intel Atom 166 GHz 4TB US $935.99 22d 11h 25m
1U Supermicro Intel D525 Atom Server 500GB HDD 1U Supermicro Intel D525 Atom Server 500GB HDD US $309.00 5d 8h 10m
QNAP Turbo NAS TS 459 PRO US Network Storage Server Intel Atom D510 166 GHz QNAP Turbo NAS TS 459 PRO US Network Storage Server Intel Atom D510 166 GHz US $645.94 20d 12h 20m
Supermicro Intel Atom D525 Mini 1U Rackmount Server Supermicro Intel Atom D525 Mini 1U Rackmount Server US $299.95 17d 13h 36m
1U Supermicro Intel D525 Atom Server 40GB Intel SSD included 1U Supermicro Intel D525 Atom Server 40GB Intel SSD included US $359.00 15d 13h 31m
SUPERMICRO 5015A H 1U ATOM 330 1U SERVER Rack Mount SUPERMICRO 5015A H 1U ATOM 330 1U SERVER Rack Mount US $365.00 18d 8h 30m
ASUS EeeNAS D200 AiO Media Server 2x 500GB HDD 35in TouchScreen Atom 16GHz 1GB ASUS EeeNAS D200 AiO Media Server 2x 500GB HDD 35in TouchScreen Atom 16GHz 1GB US $364.99 17d 11h 29m
Super Micro X7SPA H Motherboard Intel Atom D510 ICH9R Chipset Server Super Micro X7SPA H Motherboard Intel Atom D510 ICH9R Chipset Server US $159.99 11d 4h 17m
1U ATOM D510 DUAL CORE 98 DEPTH SERVER 1U ATOM D510 DUAL CORE 98 DEPTH SERVER US $495.00 11d 6h 48m
Netgear ReadyNAS RNDU6000 100NAS Network Storage Server Intel Atom 166 GHz 1GB Netgear ReadyNAS RNDU6000 100NAS Network Storage Server Intel Atom 166 GHz 1GB US $1,319.04 14d 5h 35m
RACKMOUNT INTEL ATOM SERVER WITH MEMORY AND HARD DRIVE BRAND NEW RACKMOUNT INTEL ATOM SERVER WITH MEMORY AND HARD DRIVE BRAND NEW US $720.00 12d 8h 35m
SUPERMICRO SYS 5015A PHF SERVER RACK MOUNTABLE ATOM D510 166 GHZ 4 SUPERMICRO SYS 5015A PHF SERVER RACK MOUNTABLE ATOM D510 166 GHZ 4 US $374.42 11d 35m
SuperMicro 5015A L 500GB Server Intel Atom 16GHz NEW SuperMicro 5015A L 500GB Server Intel Atom 16GHz NEW US $535.80 10d 3h 24m
1U Supermicro Intel 525 Atom Server 2GB ram 40GB SSD 1U Supermicro Intel 525 Atom Server 2GB ram 40GB SSD US $399.00 10d 6h 30m
1U Supermicro Intel 525 Atom Server 2GB ram 500GB hdd 1U Supermicro Intel 525 Atom Server 2GB ram 500GB hdd US $335.00 11d 10h 15m
Supermicro SuperServer SYS 5015A EHF Atom D510 1U Rackmount Server Barebone Syst Supermicro SuperServer SYS 5015A EHF Atom D510 1U Rackmount Server Barebone Syst US $401.99 3d 5h 35m
Supermicro X7SPE H B Intel Atom D510 Intel ICH9R DDR2 V2GbE FlexATX Server Supermicro X7SPE H B Intel Atom D510 Intel ICH9R DDR2 V2GbE FlexATX Server US $199.49 4d 6h 3m
New Intel Atom 16Ghz Slim Small Mini Server Desktop PC New Intel Atom 16Ghz Slim Small Mini Server Desktop PC US $249.00 7d 16h 18m
Supermicro SuperServer SYS 5015A EHF Atom D510 1U Rackmount Server Barebone NEW Supermicro SuperServer SYS 5015A EHF Atom D510 1U Rackmount Server Barebone NEW US $348.99 1d 11h 36m
Supermicro SuperServer SYS 5015A PHF Atom D510 1U Rackmount Server Barebone NEW Supermicro SuperServer SYS 5015A PHF Atom D510 1U Rackmount Server Barebone NEW US $326.99 1d 11h 34m
Netgear ReadyNAS RNDP200U Network Storage Server Atom 180 GHz RNDP200U 100NAS Netgear ReadyNAS RNDP200U Network Storage Server Atom 180 GHz RNDP200U 100NAS US $468.85 6d 6h 39m
Netgear ReadyNAS RNDP2220 100NAS Network Storage Server Atom 18GHz 4TB Netgear ReadyNAS RNDP2220 100NAS Network Storage Server Atom 18GHz 4TB US $1,532.99 3d 11h 22m
HP StorageWorks X310 Intel Atom Dual Core 2GB Memory 1TB Windows Home Server HP StorageWorks X310 Intel Atom Dual Core 2GB Memory 1TB Windows Home Server US $300.00 3d 11h 37m
Cisco Nss 322 Network Storage Server Intel Atom D510 166 Ghz 2 Tb 2 X 1 Tb Cisco Nss 322 Network Storage Server Intel Atom D510 166 Ghz 2 Tb 2 X 1 Tb US $1,084.53 26d 23h 48m
Qnap Turbo Nas Ts 459 Pro Network Storage Server Intel Atom D510 166 Ghz Qnap Turbo Nas Ts 459 Pro Network Storage Server Intel Atom D510 166 Ghz US $675.15 25d 16h 14m
Netgear Readynas Rndu6000 Network Storage Server 1 X Intel Atom 166 Ghz Rj 45 Netgear Readynas Rndu6000 Network Storage Server 1 X Intel Atom 166 Ghz Rj 45 US $841.18 25d 17h 30m
Netgear Readynas Rndp2210 Network Storage Server 1 X Intel Atom 180 Ghz 2 Tb Netgear Readynas Rndp2210 Network Storage Server 1 X Intel Atom 180 Ghz 2 Tb US $711.05 25d 15h 35m
Netgear Readynas Rndu6320 Network Storage Server 1 X Intel Atom 166 Ghz 6 Tb Netgear Readynas Rndu6320 Network Storage Server 1 X Intel Atom 166 Ghz 6 Tb US $1,414.48 25d 15h 35m


Team Atom Server Promo: New Core Edition

Be the first to comment.

Leave a Reply