Hi.
I have a problem with .post().
I try to send  this str:
date=19.11.2008&title=Input title&description=Input
description&keywords=Input keys&body=<p>Test</p><p>&nbsp;</
p><p>ggggggggg</p>

post function:
$.post("http://bla-bla/post.php";,
        str,
        function(data){
           $("#answer").html(data);
        }
);

This part of post.php:
<?php
$body = $_POST['body'];

print "Main body: " . stripslashes($body) ."<br>";
?>


If in variable "body" exist "<p>&nbsp;</p>", then all the remaining
data in variable "bode" will not transferred or will not appear
(<p>ggggggggg</p> in my example).
When I remove "<p>&nbsp;</p>", then everything OK.
That this can be and how resolve this?
Thank for your help.

Reply via email to