所以我有一个奇怪的问题,问题是当我在PHP代码中回应一些东西时,例如错误,输入框和提交按钮大小消失我的意思是输入文字位置变小,提交按钮变大,
之前:
代码:
// Check connection
if (mysqli_connect_error()) {
die("Database connection failed: " . mysqli_connect_error());
}
$to = "admin@gmail.com";
$message = "G'Day!]
Your personal account for the Project Web Site
has been created! To log in, proceed to the
following address:
http://www.example.com/
Your personal login ID and password are as follows:
You aren't stuck with this password! You can change it at any time after you have logged in.
If you have any problems, feel free to contact me at <you@example.com>.
-Your Name
Your Site Webmaster
";
$sql = mail($to,"Your Password for Your Website",$message,"From:Your Name <you@example.com>");
if ($conn->query($sql) === TRUE) {
echo "Email has successfully been sent!";
} else {
echo "Error: " . $sql . "<br/>" . $conn->error;
}
$conn->close();
?>
// css
if($row) // Ime nije registrovano kod dole
{
echo '
<div class="transbox" position = "center">
<center><p>Ime koje ste uneli je vec registrovano.</p>
<p>Molimo vas da odaberete drugo ime koje cete koristiti na serveru.</p></center>
</div>
';
}