Linked Questions

0 votes
2 answers
200 views

I have 2 pages. berechnungseingabe.php where I generate a Multidimensional Javascript Array Array[19] 3: Array[0] 7: Array[0] 11: Array[0] Anzahl: "1" Driving: 2380 Index: "13" ...
Phil's user avatar
  • 2,446
8 votes
2 answers
58k views

I'm having issues posting an Array to a PHP page using AJAX. I've been using this question as guidance, but for whatever reason I still can't get it to work. From what I can tell by using print_r($...
EzAnalyst's user avatar
  • 253
0 votes
3 answers
13k views

Trying to pass an array to a php page using an ajax request. The current response is ction Array() { [native code] } as opposed to the actual array contents (which im positive is not empty). Here my ...
Jonah Katz's user avatar
  • 5,298
1 vote
1 answer
2k views

I've seen a lot of posts on this issue, but many of them are at least 3 years old, and nothing seemed to resolve my issue. I'm hoping someone can help. I created an array of strings that are paths to ...
Skins fan's user avatar
0 votes
2 answers
3k views

I have first PHP file where I have form and it's action is directing me to next php file. The code snippet is as below: <form name="drugForm" action="drug_form2.php" onsubmit="return validateForm(...
gree_tejas's user avatar
1 vote
2 answers
2k views

I'm trying to send an array from a JS file to a PHP file in the server but when I try to use the array in php, I got nothing. This is my function in JS: var sortOrder = []; var request = function() {...
M. Simon's user avatar
0 votes
2 answers
2k views

I have a form which I would like to submit via Ajax, however, part of it contains an array. I am having difficulty passing this array via Ajax. An example of my Ajax is below, where I would usually ...
user1842842's user avatar
-3 votes
1 answer
2k views

I'm trying to push an array from jquery to a php function and I'm out of options to make it work. I've tried multiple options; $_request, $_post, with JSON.stringify, without JSON.stringify, ... But I ...
user3346696's user avatar
0 votes
1 answer
367 views

Well I followed this question, but cannot send array to php it returns me always empty: JS: values = []; values['mpsRegnomer'] = $('#mpsRegnomer').val(); values['...
Филип Недялков's user avatar
1 vote
2 answers
591 views

I need help with this problem, please help me. I'm trying to do Ajax urlencode to PHP, but PHP doesn't show me the POST content like does when HTML send directly to PHP. I'm using this code in Ajax ...
Carlos Rodriguez's user avatar
0 votes
0 answers
471 views

I'm trying to send an array from Javascript to PHP. function wishlist_save(arr){ $.ajax({ type: "POST", url: "from.php?type=customers", data: {info: JSON.stringify(arr) }, ...
Linesofcode's user avatar
  • 6,021
0 votes
1 answer
196 views

I want to send a JavaScript array to the server when a user clicks on a button. My current code is as follows, but it does not work, could someone help me with this? HTML <? $arrs = {include ...
I'm a Newbie.'s user avatar
-6 votes
4 answers
592 views

I have an array like this Array ( [0] => 131 [1] => 103 [2] => 21 [3] => 94 [4] => 107 [5] => 130 [6] => 92 [7] => 128 [8] => ...
g.v.v.phani Guduri's user avatar
0 votes
1 answer
136 views

I am sending a javascript array by using jquery to a php script. In ajax I have a myarr variable but this variable can't be accessed in php. Error is : Undefined index myarr Please Please help me....
Sagar Yadav's user avatar
0 votes
2 answers
85 views

I have a list of options (categories) of projects that the user can see. By selecting the categories, the div below should update with the lists of projects matching said categories. Despite using ...
obmon's user avatar
  • 337

15 30 50 per page