Home php PHP variable in attribute "href"

PHP variable in attribute “href”

Author

Date

Category

why it does not work?


Answer 1, Authority 100%

Do this: echo "& lt; a href = '". $ link_address. "' & gt; link & lt; / a & gt;"; or so: Echo & LT; A href = '$ Link_address' & gt; link & lt; / a & gt; "; Play with quotes …

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions