I read all the other answers related to that question, but none of them help. When I try to run the following setup either on my localhost or my production serv
I made my own REST API with php coding and mySQL database. There is no Authentication. Just a GET call should retrieve mySQL table rows. <?php header("Acces
I am not a PHP expert. I have a form that has Captcha validation image. the form has a button "submit", and the code for the submit is within the same page (let
I am using below laravel 6 code to report exceptions to Sentry.io: public function report(Exception $exception) { if ($this->shouldReport($exception) &am
I'm new to Codeigniter PHP framework. When I'm testing my application I get 'Unknown database db_name' error. I have browsed through several sites but didn't fo
How to add a custom text 'per item' based on product category on all WooCommerce emails? Therefore I tried to modify Add a custom text for a particular product
I have a website abc .com,it already using php script. And I need to install another php script on subdomain like web.abc .com. I have allready created subdomai
First things first, I'm new to the forum, anything I write that isn't concise or just flatt out adjective let me know! I'm developing an app that can retrieve d
I am trying to create a htaccess for seo urls, I created my htaccess all urls works fine exclude subfolder with parameters, they redirects to sitefolder. sitefo
I made a controller to store tasks, it looks like: public function store(StoreTaskRequest $request) { $validated = $request->validated();
It is not possible to transfer data from one controller to another. There is such a controller for filling mp3 files via Dropzone.JS: public function upload(Req
I have this shortcode, it should show the last login date to users. The problem I find is that all other users are viewing my last login date and not their date
I am using the a db field merchant_sku_item in a form. the original value is separated by / in the db like this: 2*CC689/1*CC368-8/1*SW6228-AB I want to displa
I have a bug in my application which I do not understand at all. I made a minimal example which reproduces the issue: <?php class MyClass { const ITEMS_PE
I'm using extends in Laravel Livewire. It can display, but when I want to add or change data, I got an error. Livewire encountered corrupt data when trying to
I have a requirement to create a room reservation system with dynamic booking slots (a reservation can start at any time and last anywhere from 15 minutes up to
Basically when i use keycodes::create($data); nothing happens and by nothing i mean nothing gets created Model: use HasFactory; protected $table = 'keycodes';
I have 2 function as below: <script type="text/javascript"> sm=()=>{ document.getElementById('show').click() console
Here is my configuration: Window Server 2016 build 14393 From phpinfo: PHP Version 8.1.5 Architecture X64 Server API CGI/FastCGI Loaded configuration file: D:
Using Laravel 8.75 and trying to upgrade to php 8.1 in composer.json to "php": "^8.1" and receive the error of Illuminate\Contracts\Container\BindingResolutionE