I've a web site with one particular page that has worked well for a few years but my host has recently moved me to a new server which is a shared platform. I do
`<script src="https://checkout.razorpay.com/v1/checkout.js" data-key="{{ env('RAZOR_KEY') }}" data-amount={{round($combined_order
I try to parse wfs xml structures with PHP 8.1 and have the following snippet: <?php $rawContent = file_get_contents('https://www.geobasisdaten.niedersachse
<select name="docname" class="form-control" id="docname" required> <option Value="">Please Choose Doctor</option> <?php fo
I'm using Laravel framework. I want to change the default code style format from this: return [ 'name' => 'required|min:4|string', '
I have the following code in a Livewire Component <x-input.color wire:model="foo.name" wire-test="foo.name" /> So I am trying to use a Blade Comp
when i run the following query, results are listed multiple. there are 3 records in the table but it lists 5 $adverts = Advert::where("category_id", $category-&
In my local/development environment, the MySQLi query is performing OK. However, when I upload it on my web host environment, I get this error: Fatal error: Ca
Hi guys I saw many times this problem and I solved it but this time I cant see where is the problem, I have been blocked for several days, so I would like someo
Sorry if this is very obvios I have the following $a = 1200.00 $b = 675 $c = 123.00 $d = $a$b$c How would I properly write $d I thought it w
I'm currently developing a project that will be Client on Java and Admin on PHP. For this purpose, I would like to store the API's data in a SQL database, so th
I am issuing a problem with the following: I foreach-ed my categories from index 1 to 3 in my blade file. Code @foreach($categories->take(3) as $category) &l
I have a multidimensional array like this (please ignore the strlen): array(2) { ["document"]=> array(16) { [0]=> string(14) "Value1"
Before to submit the doubt that I have, let me start from preamble that I'm definitively a newbie on MongoDB world ;( but I'm going to learn quickly! The goal t
When i'm inserting data from mysql database using this code it doesn't fill polish letters instead it shows random weird symbols instead of po
I am writing a code where I want to check if the user is logged in and, if yes, redirect the user to the profile page. Else, redirect the user to the login page
Sorry if the title is a little confusing was trying not to make it too long. I am currently in school and my teacher has tasked us with this "Add a boolean colu
I want to style the first post differently so I am trying to use a simple counter that will add a class to the first post. First, on index.php I have this if (
I've setup an Apache alias on a subdomain, which points to a directory outside the document root like this: Alias / /home/keyhelp/www/webmail/plugins/xcalendar/
I was writing some PHP code when I came to an warning in my coding saying "Unhandled Exception" pointing to the use of random_int in some part of my algorithm.