UrbiJr

1

votes
2

answer
75

views

Send JSON data via POST PHP instead of Ajax version

I have to create a JSON object that is the equivalent of a JSON object created with this Ajax code snippet: $.ajax({ type : 'POST', url : '?', dataType: 'json', data : 'username=' + encodeURIComponent($('input[name='username']').val()) + '&password=' + encodeURIComponent($('input[name='pas...
UrbiJr