[jQuery] Re: ajax post data json - php receives only post data, no json

2009-04-12 Thread mcologne
@donb: thanks... i thought it was in both directions... On 12 Apr., 16:46, donb wrote: > $_post sends the data which 'arrives' at your PHP page as $_POST array > elements.  That's the nature of an HTTP post action.  By indicating a > 'json' datatype, the data your script returns will be expecte

[jQuery] Re: ajax post data json - php receives only post data, no json

2009-04-12 Thread donb
$_post sends the data which 'arrives' at your PHP page as $_POST array elements. That's the nature of an HTTP post action. By indicating a 'json' datatype, the data your script returns will be expected to be in JSON form. On Apr 12, 7:32 am, mcologne wrote: > hi... > > i have a normal email fo

[jQuery] Re: ajax post data json - php receives only post data, no json

2009-04-12 Thread dongle
learn to make a simple ajax query before playing with jquery, to use json data is completely senseless here On Apr 12, 1:32 pm, mcologne wrote: > hi... > > i have a normal email form, where the user can send an email with some > data... > > at first i send it with normal post (no dataType in jqu