Hello,
I have these two variables:
$link :the remote site's url
$title :the remote site's name
I need a php code that produces this html code:
<a target="_blank" href="$link">$title</a>
Thanks in advance for you time!
Simple code needed please (writing a html url)
Moderator: General Moderators
-
dimxasnewfrozen
- Forum Commoner
- Posts: 84
- Joined: Fri Oct 30, 2009 1:21 pm
Re: Simple code needed please (writing a html url)
You had it right almost.
index.php
index.php
Code: Select all
<a target="_blank" href="<?php echo $link; ?>"><?php echo $title; ?> </a>