I need to initialize my database, so I create a .php file with PDO connect to create my database.
This is actually working, but the probleme is only the first 22 rows are created. Why?
this is a part of my code:
$pdo->query("
INSERT INTO `photos`
(`id`, `url`, `description`, `numero`)
VALUES
(1, 'url', 'des', 'int'),
(2, 'url', 'des', 'int'),
(3, 'url', 'des', 'int'),
(4, 'url', 'des', 'int'),
(5, 'url', 'des', 'int'),
(6, 'url', 'des', 'int'),
[...]
(698, 'url', 'des', 'int'),
(699, 'url', 'des', 'int'),
(700, 'url', 'des', 'int');");
Thanks.