How to prevent jQuery conflict error in joomla

Advertisements

How to create backlink using JavaScript or PHP

Backlinks for pages can be implemented either by using php or javascript. Code block for these two is as follows –

<a href=”<?php echo $_SERVER[‘HTTP_REFERER’] ?>”>Back Via PHP</a>

<?php echo “<br />”.”—————-“.”<br />”; ?>

<a href=”javascript:history.go(-1);”>Back Via JavaScript</a>

<?php echo “<br />”.”—————-“.”<br />”; ?>

<a href=”javascript:history.back()”>Another JS Back Button</a>