jQuery
$('registration').click(function() {
       $.post('check_code.php',
        {lemail:$('input#pro_id').val(),ccode:$('input#ccode').val()},function(result){
        alert(result+"hello");
    });     
});
check_code.php
 <?php session_start();
 include("configure.php");
$email =  $_POST['lemail'];
$ccode  =  $_POST['ccode'];
 echo $email; ?>
<br />php 文件与我猜标签的新行相呼应,当我发出警报时,我将其作为输出:
 someemail@example.com
   // why does i get this break line
 hello
我不想要断线,是什么原因?我一直在检查错误,但无法弄清楚。