Node Create Variables

Hello, I want to create a node programmatically but it’s not working with this code : $autoloader = require_once ‘autoload.php’; $kernel = new DrupalKernel(‘prod’, $autoloader); $request = Request::createFromGlobals(); $response = $kernel->handle($request); $response->send(); $caracteristiques = $bdd3->prepare(“SELECT node.type, node__body.langcode, title, body_value, body_format FROM node, node__body, node_field_data WHERE[…]