Skip to content

Tag: html

Adding Content to Pre-Existing Web Page [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 2 years ago. Improve this question I hav…

Too few arguments to function php

my controller { } ?> my model { } app.php it shows this error Fatal error: Uncaught ArgumentCountError: Too few arguments to function product::index(), 0 passed in C:xampphtdocshermesmvccoreapp.php on line 40 and exactly 1 expected in C:xampphtdocshermesmvccontrollsproduct.php:14 Stack trace: #0 C:xampphtd…

Fetch array data from one table and insert into another table

I want to fetch array data from “orders” Table WHERE order_id =2 and insert into “inventory_log” Table. but my code is only inserting the last row orders TABLE I want this: inventory_log TABLE Find my code below: Answer It is only inserting one row because you are only posting 1 produc…