P php_css Registered 18 Февруари 2011 #1 Код: 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 ') VALUES (NULL, 'ewrwerer', 'werwerwe', 'wqerwerwer','3','werwerwer' , '18.02.2' at line 1 от какво може да е ?
Код: 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 ') VALUES (NULL, 'ewrwerer', 'werwerwe', 'wqerwerwer','3','werwerwer' , '18.02.2' at line 1 от какво може да е ?
P php_css Registered 18 Февруари 2011 #3 Код: $sql = "INSERT INTO `songs` (`id`,`artist`, `title`, `path`,`id_cat`, `pic`,`date`,) VALUES (NULL, '$_POST[artist]', '$_POST[title]', '$_POST[path]','$_POST[id_cat]','$_POST[pic]' , '$date');"; Къде е грешката
Код: $sql = "INSERT INTO `songs` (`id`,`artist`, `title`, `path`,`id_cat`, `pic`,`date`,) VALUES (NULL, '$_POST[artist]', '$_POST[title]', '$_POST[path]','$_POST[id_cat]','$_POST[pic]' , '$date');"; Къде е грешката
P proba Registered 18 Февруари 2011 #6 PHP: $sql = "INSERT INTO `songs` (`id`,`artist`, `title`, `path`,`id_cat`, `pic`,`date`) VALUES (NULL, '$_POST[artist]', '$_POST[title]', '$_POST[path]','$_POST[id_cat]','$_POST[pic]' , '$date')"; Така ?
PHP: $sql = "INSERT INTO `songs` (`id`,`artist`, `title`, `path`,`id_cat`, `pic`,`date`) VALUES (NULL, '$_POST[artist]', '$_POST[title]', '$_POST[path]','$_POST[id_cat]','$_POST[pic]' , '$date')"; Така ?