Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Everything seems to be easy...
Put HTML code, remove "
<a class="button">
<span>press me</span>
</a>
Yes, from PHP I see the output of something...
Well, initially it happens just the opposite, php code is inserted into html markup. Even if your file has the ".php" extension, this does not mean that nothing but php can be written there. Just close the php tag and write regular html.
<html>
<head>
<title>My first PHP Page</title>
</head>
<body>
Обычная html разметка
<?php
// тут пишем php код
?>
Пишем дальше html
</body>
Voila :D
<?php
$button = '<div id="pagegradient"></div><a class="button"><span>press me</span></a>';
echo $button;
?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question