tc-php-mvc-core icon indicating copy to clipboard operation
tc-php-mvc-core copied to clipboard

Results 7 tc-php-mvc-core issues
Sort by recently updated
recently updated
newest added

Hey there, ### `user/update/1` or `product/{:slug}` or `category/{:slug}/{:id}` When we define a route in the form of, we cannot access the '1' or 'slug' parameter other than using the $...

Think that our `public/index.php` file looks like this: ```php

please how make router grouping

>Using **$request->getQueryString()** method to easily gets a query string as an object. For Example ```PHP public function profileByName(Request $request) { echo ''; // http://127.0.0.1:8080/profile/marufsharia?id=123&categoryId=102&type=small var_dump($request->getQueryString()->catagoryId); // output : 102 echo...

**Error explanation:** The line ` implode("AND", array_map(fn($attr) => "$attr = :$attr", $attributes));` will produce an error **"Invalid parameter number: parameter was not defined"** because if the item in the array...

I tried to to interact with the mvc using postman and i findout that it cant read json formatted request You need to check if the upcoming request is post...