I have trouble with spaces, wher is php tag, i have spaces.
foto:
http://img99.imageshack.us/img99/4163/spacervd.png
If i delete: require("connect_db.php");
and
<form method = "post">
...
Everything ok. How i can remowe this space?
And why "New user" in ner rows?
<?php
session_start();
require("connect_db.php");
?>
<html>
<head>
<style type="text/css">
body {
margin:0;
margin-top: 0;
margin-bottom: 0;
text-align: center;
}
div.body2{
width: 666px;
background-color: #e43546;
}
</style>
</head>
<body>
<div class = "body2">
<?php echo 'Text, text<br>'; ?>
<?php
echo '
<form method = "post">
Name: <input type = text name = name>
Pass: <input type = password name = password>
<input type = submit id = login value = login>
</form>
<a href = "reg.php">New user</a>
';
?>
<?php echo 'Text, text<br>'; ?>
</div>
</body>
</html>
Thanks for help