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 >Backend Development >PHP Problem >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='xxx'>test</a>
2. Use echo to output directly in PHP code.
Such as:
echo "<a href='xxx'>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!