Kodun son hali aşağıdaki gibi oldu. Ama yine "Parse error: syntax error, unexpected $end in /home/wwwhizm/public_html/aha.php on line 55" hatası veriyor... <HTML>
<HEAD>
<TITLE>AAALA</TITLE>
</HEAD>
<BODY>
<?
session_start();
ob_start();
include "config.php";
function giris() {
?>
<body>
<form action=\"index.php?sayfa=hesapyarat\" method=\"post\">
<div align=\"center\">
<p class=\"style1\">ÜYELİK FORMU </p>
<table width=\"328\" border=\"1\">
<tr>
<th width=\"139\" scope=\"row\">K.ADI:</th>
<td width=\"173\"><input type=\"text\" name=\"nick\" /> </td>
</tr>
<tr>
<th scope=\"row\">ŞİFRE:</th>
<td><input type=\"password\" name=\"pw\" /> </td>
</tr>
<tr>
<th scope=\"row\"> </th>
<td><input type=\"submit\" value=\"KAYDET\" /></td>
</tr>
</table>
<p><strong><em>ZCDesign İnternet Hizmetleri </em></strong></p>
</div>
</form>
</body>
<? }
function hesapac(){
$nick = $_POST["nick"];
$pass = md5($_POST["pw"]);
$tarih = date ("d/m/y"); }
if (($nick == "") or ($pass == "")) {
header("location:index.php?sayfa=login&error=1");
}
else {
$add = mysql_query("insert into register(nick,pw,tarih) values ('$nick','$pass','$tarih') ");
if(! $add) {
print "Üye ekleme başarısız !";
}
else {
header("location:index.php");
}
?>
</BODY>
</HTML>