This is my code in blade file : <form action="{{ route('user.delete') }}" method="Delete" class="row g-3"> @csrf <div class="col-a
I'm using Laravel - Lighthouse-PHP GraphQL server, and when I deploy it to production, I have to write public in the URL in order to work: https://example.com/g
Im trying to get Payments working using the PayTabs gateway in native php. It works, for the most part. the main issue im having is the callback file, I've mad
I've built a custom post filter in Wordpress using Ajax. function filterPublications(filters, filterType) { filters = JSON.stringify(filters); $.ajax({
I'm trying to set up WordPress. I have Apache and MySQL running, and the accounts and database are all set up. I tried to make a simple connection: <?php
I'm working on hiding free shipping when there is a fixed price shipping amount based on certain products. This code is working and after certain sum is also di
This is intended to be a general reference question and answer covering many of the never-ending "How do I access data in my JSON?" questions. It is here to
I have a little problem with my unit test and an array generated "randomly", I have something looking like this : return [ 'foo' => $this->faker->sent
I know crashing web server is a network related problem, but as I have responsibility of a PHP web site, so I must be care about reliability or availability of
<!DOCTYPE html> <html> <body> <h2>HTML Forms</h2> <form action=""> <label for="fname">You tube link1:</label>
In my regular Laravel project I have both regular .php files with classes and .blade.php files for the templates of my project. When searching in PHPStorm with
probably can not see something, I got two arrays: $grid = Array ( [0] => 3 [1] => 2 [2] => 3 [3] => 2
Alright. I've been looking around for a solution for some time now but I cannot seem to figure out why images aren't rotating on my Debian server using PHP. $co
I have no idea how to set, or if it is even possible to set default value on text (type date). Here is my FormFactory: $form->addText('category_priority', 'P
Guys i'm currently working with lara classifer project and filtering method filter data when we select each radio button or dropdown.I want to make a button tha
tl;dr My understanding is that php -S localhost:1234 -t some-dir serves the page some-dir/index.html at localhost:1234, expecting that CSS and JavaScript (and o
how can i echo DAY of the date only? $date = Saturday, 3 September 2022; if ($date == '3') { echo '03'; }
i created an Artisan Command that created Repository. A Repository File and an Interface. when user run below command, this files will be generated. php artisan
I have an html code something like <label>Is Pan Verification Enabled</label> <select class="form-control" name="ispanverified">
I am trying to redirect to https://example.com from https://www.example.com, http://example.com, http://www.example.com ------------------ and ---------------