标题已经发送到&#34; <! - ?php“

时间:2015-12-22 17:30:55

标签: php

为什么<?php没有&#39;没有&#39;在它之前包含一个空格,但</html>现在我想知道为什么它指向&#34;已经发送的标题(输出从C:\ wamp \ www \ Baptism.php:329开始)&#34;这是<?php

<?php
if(isset($_POST['submitted']))
{   
    include('config/config1.php');
    /* para makuha ang variable galing sa config/config1. */
    $firstname1 = $_POST["firstname"];
    $middlename1 = $_POST["middlename"];
    $lastname1 = $_POST['lastname'];

    $insrtBptm = "INSERT INTO parishioner (firstname,middlename,lastname) VALUES ('$firstname1','$middlename1','$lastname1')";
    $update = "UPDATE parishioner SET Parishioner_idParishioner = idParishioner WHERE Parishioner_idParishioner IS NULL AND idParishioner IS NOT NULL";

    if(!mysqli_query($conn,$insrtBptm))
    {
        die("Error not queried". mysqli_error());   
    }
    if(!mysqli_query($conn,$update))
    {
        die("Update error !". mysqli_connect_error());
    }
    mysqli_close($conn);
    header("Location: Home.php");
}?>

0 个答案:

没有答案