Skip to main content

All Questions

Tagged with
-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 ...
AlbertaXChange's user avatar
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 ...
Дима Закуткин's user avatar
-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, ...
Jenaida Barreto's user avatar
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 ...
GFT's user avatar
  • 62
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 ...
Bartosz's user avatar
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&...
David's user avatar
  • 447
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 ...
user4221591's user avatar
  • 2,142
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() { $('#...
bobafart's user avatar
  • 331
-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", ...
Jenaida Barreto's user avatar
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 ...
Denis Futida's user avatar
-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 ...
RasaCarta's user avatar
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 ...
Amila Priyankara's user avatar
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. ...
Chris Miller's user avatar
-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 ...
gael's user avatar
  • 1,419
-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']; $...
P. James Norris's user avatar

15 30 50 per page
1
2 3 4 5
4403