- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Add PHP variable inside echo statement as href link address?
HTML in PHP
echo "<a href='".$link_address."'>Link</a>";
or
echo "<a href='$link_address'>Link</a>";
PHP in HTML
<a href="<?php echo $link_address;?>"> Link </a>
- Related Articles
- How to effectively hide Href From a Link in PHP?
- HTML DOM Link href Property
- Can HTML be embedded inside PHP “if” statement?
- echo() function in PHP
- Fetch all href link using selenium in python.
- PHP How to add backslash inside array of strings?
- How to echo XML file in PHP
- PHP Casting Variable as Object type in foreach Loop
- link()function in PHP
- How to get an attribute value from a href link in selenium?
- MySQL case statement inside a select statement?
- How to find the href and target attributes in a link in JavaScript?
- How to click a link whose href has a certain substring in Selenium?
- How to get a variable name as a string in PHP?
- How to search the value of the href attribute of a link in JavaScript?

Advertisements