2 changed files with 24 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||||
|
<?php |
||||
|
echo "Program pro sečtení 2 čísel \n"; |
||||
|
$cislo1 = readline("cislo:"); |
||||
|
$cislo2 = readline("cislo:"); |
||||
|
echo "\n"; |
||||
|
// Vypsaní výsledku |
||||
|
echo ($cislo1+$cislo2); |
||||
|
?> |
@ -0,0 +1,16 @@ |
|||||
|
<?php |
||||
|
$title = "KOUZELNÉ PHP" |
||||
|
?> |
||||
|
<!DOCTYPE html> |
||||
|
<html lang="en"> |
||||
|
<head> |
||||
|
<meta charset="UTF-8"> |
||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
|
<title><?php echo $title ?></title> |
||||
|
</head> |
||||
|
<body> |
||||
|
<h1><?php echo $title ?></h1> |
||||
|
<h3><?php echo $title ?></h3> |
||||
|
</body> |
||||
|
</html> |
Loading…
Reference in new issue