All Questions
66,038
questions
-3
votes
0
answers
35
views
Technically a form within a form [closed]
I have a form for users to select their gender but I would like to add an input so that the user may add a gender to the MYSQL database and auto refresh the form to include their new gender for a ...
0
votes
0
answers
34
views
How to send request from js cordova to PHP? cors system error
When sending a request from a cordova JS request application a CORS error comes out, and I don't understand how to customize the headers.
The application is on different devices, addresses are ...
-3
votes
0
answers
24
views
To return JSON object using php CURL [duplicate]
<?php
$executionStartTime = microtime(true);
$url='../countryBorders.geo.json';
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, ...
0
votes
0
answers
21
views
How to Display Real-Time Progress Bar for Product Import in WooCommerce?
I am building a custom product import page for WooCommerce where users can upload a CSV file to update product stock or price. I want to show a real-time progress bar that displays the percentage of ...
0
votes
0
answers
43
views
Laravel PHP Request Size on Azure WebApp
I have two Web Apps created in Azure - dev and prod. Both on Linux. They have exactly the same setups, same env variables etc. I encountered a strange bug while sending a request from my FrontEnd to ...
1
vote
1
answer
60
views
Laravel 11 Route not found 404 jQuery
I'm using Laravel 11 and jQuery
I have this error :
Erreur 404: Not Found
{
"message": "The route %7B%7B%20route('columns.all')%20%7D%7D could not be found.",
"exception&...
1
vote
1
answer
48
views
post id for data deletion using ajax showing missing required parameters in controller route
I am trying to delete data via datatable delete button. But I am getting error.
I have created route as::
Route::resource('dealers', DealerController::class);
My controller function::
public function ...
1
vote
4
answers
54
views
Jquery Ajax call not sending all variables via a Post request
Reading and re-reading I do not know why 2 variables do not get passed but one does. JQuery Ajax call (LAMP env):
<script type="text/javascript">
$(document).ready(function() {
$('#...
-3
votes
1
answer
61
views
how to display output using php ajax in jquery [closed]
Can you please tell me what is wrong with this code? It's not giving me any output after clicking submit.
$('#btnRun').click(function() {
$.ajax({
url: "libs/php/getCountryCode.php",
...
0
votes
0
answers
28
views
How to check only the checkbox with IDs from a datatable according to a string of IDs via Ajax request? PHP, JQuery and Datatable
Scenario:
The datatable has a column with checkbox id="sel_customer" referring to the IDs of Customers with several rows.
The Ajax request (data) returns a string with the list of IDs of the ...
-3
votes
0
answers
60
views
How do I load and work with PHPspreadsheet via AJAX filepath?
I'm trying to pass a filepath and sheetname via an AJAX request into my PHP script. The AJAX is working, and this is a multi-step file operation: file upload, reading of sheet tabs which get echoed ...
0
votes
0
answers
18
views
When execute multiple ajax function in async way. PHP response in sync way [duplicate]
Here show js function, But my response received from PHP which is in sequence. So I expecting queries to execute all in one go.
PHP queries
public function get_filtered_data_01(){...}
public function ...
0
votes
1
answer
43
views
Why is SimplyBook API addClient function not working? Error log showing "Client name value is wrong"
I am trying to add a client to the SimplyBook system using JSONRCP. This is called when a new user is added to Wordpress as a subscriber using registration form built with the UserRegistration plugin.
...
-2
votes
0
answers
49
views
Why does my array fires Error: Call to undefined method stdClass on a function after json encode / decode? [duplicate]
I am working on an object I want to send to another php script via Ajax to perform a function called lire()
So to send this object called Caddie, I json_encode it and then in my php script json_decode ...
-3
votes
1
answer
119
views
Async upload of file using pure JS/AJAX and PHP
UPDATE (16:35 MST TUE 29 OCT 2024)
=====
I have modified the the one-file code to:
<?php
error_reporting (E_ALL);
ini_set ('display_errors', 'on');
$filename = $_FILES['fileToUpload']['name'];
$...