Professional Documents
Culture Documents
Exercice 1
Exercice 1
<?php
<!DOCTYPE html>
<html>
<head></head>
<body></body>
</html>
?>
Exercice2 :
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<?php
echo "Ma premiere page PHP";
?>
</body>
</html>
Exercice3 :
<!DOCTYPE html>
<html>
<body>
<?php
$rayon=5;
$surface=$rayon*$rayon*3.14;
echo "la surface du cercle.$surface « ;
?>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<?php
$rayon=5;
$surface=$rayon*$rayon*3.14;
print "la surface du cercle $surface";
?>
</body>
</html>