skip to Main Content

Laravel – PUT method is not supported for route vehiculos/7676729/edit. Supported methods: GET, HEAD

I'm trying to understand PHP Laravel but can't figure out how to make this put operation. Basically I have my db created with artisan and the table for vehiculos is simple. Schema::create('vehiculos', function (Blueprint $table) { $table->string('id')->foreign('idFk')->references('id')->on('clientes')->onDelete('cascade'); $table->string('marca'); $table->string('modelo'); $table->year('anio');…

VIEW QUESTION

Php – Silent print different shell_exec vs. manual command line

I would like to automatically print labels locally via a website using silent print. My PHP script running with XAMPP on Windows. <?php ob_end_clean(); ignore_user_abort(); ob_start(); header("Connection: close"); header("Content-Length: " . ob_get_length()); header("Access-Control-Allow-Credentials: true"); header("Access-Control-Allow-Origin: https://xxx"); ob_end_flush(); flush(); $target =…

VIEW QUESTION
Back To Top
Search