31TSAI/Zadanie 2/syntax.php
Wojciech Wylazowski 59680e6183 nota
2022-09-28 14:20:11 +02:00

41 lines
741 B
PHP

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>a</title>
</head>
<body>
<?PHP
echo"Tu "."funkcja "."echo";
?><br>
<?PHP
echo"Tu ","funkcja ","echo";
?><br>
<?PHP
$tfe = "Tu funkcja echo";
echo $tfe;
?><br>
<?PHP
echo($tfe);
?><br>
<?PHP
print "Zgłasza się funkcja print";
?><br>
<?PHP
print "Zgłasza "."się "."funkcja "."print";
?><br>
<?= "Pan Jezus"?><br>
<?= "Pan Papież"?><br>
<?PHP
//Pan papież lubił Pan Jezus
#Pan Jezus lubił Pan papież
/*
echo "bardzo lubie kremówki";
*/
?>
</body>
</html>