Smolf3d
Guest
Помогите найти ошибку
выдаёт ошибку здесь
PHP:
<?
//grabs the variables
$fullname = $_POST["fullname"];
$phone = $_POST["phone"];
$cellular = $_POST["cellular"];
$email = $_POST["email"];
$icq = $_POST["icq"];
$msn = $_POST["msn"];
$fday = $_POST["fday"];
$fmonth = $_POST["fmonth"];
$fyear = $_POST["fyear"];
$uday = $_POST["uday"];
$umonth = $_POST["umonth"];
$uyear = $_POST["uyear"];
$plan = $_POST["plan"];
$domain = $_POST["domain"];
$nick = $_POST["nick"];
$haspaid = $_POST["haspaid"];
//gets mysql info
include("dbconnect.php");
$addnews =MYSQL_QUERY("INSERT INTO clients (id,fullname,phone,cellular,email,icq,msn,fday,fmonth,fyear,uday,umonth,uyear, plan,domain,nick,haspaid)". "VALUES ('NULL', '$fullname', '$phone', '$cellular', '$email', '$icq', '$msn', '$fday', '$fmonth', '$fyear', '$uday', '$umonth', '$uyear', '$plan', '$domain', '$nick', '$haspaid')") or die('Error: '.mysql_error());
if (mysql_affected_rows() == 1) echo("Debug: Query 'clients' succeeded.<br>");
else echo("Debug: Query 'clients' failed!<br>");
}
else echo("Debug: No post!<br>");
?>
выдаёт ошибку здесь
Код:
Parse error: parse error, unexpected '}' in submitclient.php on line 24