I have php file index.php
In this file to use html code I am doing:
echo ' <div> <a class="fragment" href=""> <div>';
In href I want to put value of some php variable i.e.
$url How could be done?
is this correct way?
<a class="fragment" href="<?php echo $url; ?>">