Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

converting text to url link in php 1

Status
Not open for further replies.

sap1958

Technical User
Oct 22, 2009
138
US
<td align=left>$Additional<br></td>

how would I show this as a url link?

For example if the information in $Additional is
or
or any url

how would I change this to a url link

I use dreamweaver cs3 as a php editor
 
Surround the variable with the appropriate tags for a link.

Code:
<td align=left>[red]<a href='[/red][green]$Additional[/green][red]'>[blue]$Additional[/blue]</a>[/red]<br></td>

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top