Parašė justaslt· 2009 Vas. 19 19:02:20
#1
mokausi dirbti su
php, bet iskilo problema:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Testing</title>
</body>
<?php
$kintamasis = 100;
$kintamasis2 = 100;
$hei = 50 * 50;
$ats = $kintamasis * $kintamasis2 + $hei;
$kintamasis3 = 0.5;
$atsfull = $kintamasis + $kintamasis2 + $ats;
echo "Atsakymas: ".$ats" + ".$atsfull;
?>
</body>
</html>
Irk ai idedu i hostinga meta stai ka:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/justaslt/fambler.xz.lt/v5/index.php on line 14
Kur cia problema?