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.
I have 2 lines of code here but i want to combine all 2 lines into 1 // How to combine these 2 lines here $product = $this->productService->searchProduct(
Greetings to the community! I have recently developed a web page with Laravel 9.X, which works correctly in local, but when I upload it to my Host, I am having
I have Enum Class. <?php namespace Enum; enum Status:string { case ACTIVE = 'active'; case ARCHIVE = 'archive'; case INACTIVE = 'inactive'; }
I have a wordpress endpoint and I have some json data. Unfortunately I dont know how to return this json data in the function. I tried json_decode but it doesn'
I have a problem in my website, I have 2 dropdown selects that are Departments and Locations, my problem is when I select a certain department and start typing
I have a foreach loop contained within a form there an input is required. I want to submit these all of input values to the database. Currently it only submits
I have made a basic Laravel project and had configured my api.php file to have a GET route when I want to fetch data for my project, but whenever I try to load
I am using WooCommerce Subscriptions with manual payments using the 'bacs' payment method. When recurring orders are created, the code below changes the status
Need to Forward raw Email without any change Working on an email forwarding script and implementing SRS with keeping DKIM intact (for DMARC). I have Laravel app