PHP קוד:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="rtl" lang="he">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1255" />
<title></title>
</head>
<body>
<?php
include ("errors.php");
include ("fundtions.php");
connect_db("localhost","drecom","111111","nezah");
if ($_POST['username']==0)
{
echo $null_signup;
die;
}
$query=mysql_query("SELECT * FROM users WHERE $_post['username']=username AND $_post['password']=password");
if (mysql_num_rows($query)==0)
}
echo $uncorreect_username_password;
die;
{
ckkdkdkd
?>
</body>
</html>
השגיאה:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in H:\אתר\files\chek_login.php on line 17
תצודה לעוזרים
