Query database table – Phpmyadmin
I have a table where I save plays for players over a specific game on it. the game has different levels. the player can play the same level multiple times. I need to query that table to count the number…
I have a table where I save plays for players over a specific game on it. the game has different levels. the player can play the same level multiple times. I need to query that table to count the number…
So.. I developed a project with Laravel 9, then I had to upload it to my client's server by FTP ( which was slow and painful ) to find out only afterwards that my client's server PHP version could not…
Clone a laravel and dockerize it to run the project locally, but I don't know what to do to connect to a remote database, that is, I don't want to create a mysql container, to connect to said database I…
I recently became a dev and I'm trying to work on my company's website, they told me to copy the project from their Ubuntu server via ssh, so I did, and when I ran php artisan serve I got this…
function edit_expense(val){ var id = val; var amount = $('#expense_amount_'+id).val(); var image = $('#img_file_'+id)[0].files[0]; $.ajax ({ type:'post', url:'{{route('edit_expense')}}', headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') }, processData: false, contentType: false, data: { "_token": "{{ csrf_token() }}",'id':id, 'amount': amount,'image': image }, success:function(data) { $('.revnue_updated').removeClass('d-none');…
I'm new to paypal and sandbox, however the algorithm works fine with my on the localhost, whereas it fails to complete the transaction on remote, I'm using php laravel the algorithm on my paypal controller : $request = new OrdersCreateRequest();…
let name = $(this).attr("name"); let value = "{{ $response['" + name + "'] }}"; I am running this in $(document).ready()
I tried to add an image to the register but I don't know why since the register no longer works Register blade @extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Register') }}</div> <div class="card-body"> <form…
I'm trying to create laravel project in WSL2 ubuntu. I have the projects folder (www) in the WSL root directory, inside that folder i have laravel_test subfolder. When i run composer create-project laravel/laravel example-app but i'm getting an error Your…
I have tried to install composer require maatwebsite/excel and I have tried several times but still getting errors and I'm using laravel 9.23.0 and PHP v8.0.5 here is the error. Using version ^3.1 for maatwebsite/excel ./composer.json has been updated Running…