Hi again here to ask you for a problem solved in first part on my first question. i've a form that submit data via jQuery to a php page, the code:
var messaggio = $("input[name='messaggio']").val();
$.ajax({
url:"js/php/sendchat.php",
data:"messaggio="+messaggio,
type:"post",
success:function(data){
$("input[name='messaggio']").val("");
$("body").html(data);
}
});
When i check send via jQuery, there's no output, and I still cannot understand why. Here's my php:
$Msg=mysql_real_escape_string(htmlspecialchars($_POST['messaggio']));
if(substr($Msg,0,1 == "§")){echo $Msg;}
The output didn't show §Test that's the thing I wrote on input form, i think that this have not sense. Thank you again for your help.