test"; 2. Use echo to output directly in the PHP code , for example: echo "test";."/> test"; 2. Use echo to output directly in the PHP code , for example: echo "test";.">

Home  >  Article  >  Backend Development  >  How to set up a hyperlink in php

How to set up a hyperlink in php

L
LOriginal
2020-06-01 11:49:249540browse

How to set up a hyperlink in php

How to set up a hyperlink in php

1. Write directly, but write it outside the PHP code block.
Such as:

<a href=&#39;xxx&#39;>test</a>

2. Use echo to output directly in PHP code.
Such as:

echo "<a href=&#39;xxx&#39;>test</a>";

For more PHP related knowledge, please visit PHP Chinese website!

The above is the detailed content of How to set up a hyperlink in php. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn