Ответов: 4 Просмотров: 262
|
PHP:
скопировать код в буфер обмена
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Функции</title> </head> <body> <?PHP echo "<br>"; function square ($a) { $result = $a*$a; echo $result; } $new = 80; echo "Квадрат $new равен - "; square ($new); { echo "<a href='http://www.google.ru/'> Гугл </a>"; } ?> </body> </html>
|