I'm passing variables into the blade from controller. This is my code from controller: $offerConditionsData = Offercondition::where('offerId', $id)->where('
I have the following problem: In the TradingView application, I have alarms set and sending them via the URL Webhook to the address http://mpietraszewski.cba.pl
I have create a new trait within my Laravel project, but it doesn't work. First I have created a folder called App\Traits and my trait filenam
I moved my project from desk to another. When I run php artisan it does not work. I tried to run composer update, but it returns the error Script @php a
In the livewire component, I have the script tag: <script> {!! $script !!} </script> Let's say the $script variable contains console.log('test'); I
I have encoded a token with JWT::encode($payload, $key, 'HS256'); When I am trying to decode it with the same key, it throws an error. Here is the code: <?p
I am working on Razorpay integration and after succesful payment when I try to save the details to the database I get an error. I am sending t
my connection: $con = new mysqli('localhost', 'root', '', 'test'); it does not work with that either: $con = new mysqli('localhost', 'root', '', 'test'
i have an collection like this 0 => array:4 [ "so" => "SO-1" "product_name" => "EXTREME FORTE - BP" "created_at" => Carbon @1527481346 {#628
I am making a schedule display system and it shows the schedules of ferries. my problem is if I dont put midnight time in order then query skips midnight time a
I'm developing a new website with PHP & MySQL. The website is for an online eBook library that grant access to its books based on paid subscription plans.
Hello Everyone this could be the most common question asked on stackoverflow, I have an invoice template in html like this demo page. I want to generate an invo
Hello Everyone this could be the most common question asked on stackoverflow, I have an invoice template in html like this demo page. I want to generate an invo
The code was working perfectly until when I installed XAMPP 8 (PHP 8). if(isset($_POST["submit"])){ @$subject = $_POST['subject']; @$term = $_POST['term
This is my ignore list which i have some item that i don't into that $ignoreRoutes = [ 'administrator', 'attachImage', 'login', 'logout', 'l
I have a Product model with id,name,price. The price value is stored in an external API and i need to fetch it every minute in order to update it in the databas
I have a new Laravel project, with Passport and basic authentication installed, and I am getting this error when I try to call the built in /api/register endpo
I am writing a code in PHP where i need to call and API (Sending username and password) and then fetch the authorization value. I tried some solutions which are
I'm trying to delete a record from the database programmatically. When I have it hardcoded like this it does delete a record from the database: $wpdb->delet
I have 2 columns in table servers. I have columns ip and hostname. I have validation: 'data.ip' => ['required', 'unique:servers,ip,'.$this->id] This