View Single Post
  #4  
Old 18th January 2024, 16:52
mogo mogo is offline
Senior Member
 
Join Date: Jun 2020
P2P
Posts: 97
Default
Quote:
Originally Posted by soneigr View Post
Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /www/wwwroot/xbtitfm/blocks/clients_block.php on line 47
ERR_SQL_ERR

in /www/wwwroot/Xbtitfm20/blocks/clients_block.php, line 47

Σφάλμα

Εντολή SQL: Αντιγραφή

INSERT INTO `xbtit_bt_clients` (`id`, `name`, `link`, `sort`, `image`) VALUES
(1, 'Firefox', 'http://www.mozilla.org/', 1, 'firefox.png'),
(2, 'µTorrent ', 'http://www.utorrent.com/', 2, 'utorrent.png'),
(3, 'Vuze', 'http://azureus.sourceforge.net/', 3, 'azureus.png');

Η MySQL επέστρεψε το μήνυμα: Τεκμηρίωση
#1062 - Duplicate entry '1' for key 'PRIMARY'

You probably didnt AUTO_INCREMENT the Primary Key.
Reply With Quote