Не могу найти ошибку в синтаксисе в SQL?

Stack Overflow на русском Asked by lena05k on December 26, 2020

Я в этом новичок, не могу понять, где ошибка.

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, password, email) VALUES ( NULL, NULL, NULL, ‘ at line 2

Вот это не полный код.

$result2 = "
    INSERT INTO register 
      (id, family_name, first_name, middle_name, year, faculty, direction, group, password, email)
    VALUES ( NULL, NULL, NULL, NULL, '$year', '$faculty', '$direction', '$group', NULL, NULL)";      

Add your own answers!

Ask a Question

Get help from others!

© 2024 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP