* You could cheat and wrap anchor tags around the DB content you want to display as a 
hyperlink
* If you know which variable from the DB you wish to be displayed as a link then:

$variable = "<a href=\"yourpage.php\">$variable</a>";

HTH :-)
Russ

On Tue, 20 Nov 2001 11:54:25 -0400 Joe Van Meer <[EMAIL PROTECTED]> wrote:

> Hi there...I have a db filled with various HTML code examples, tags, etc...
> how would I format it so that it would appear like <A href='index.php'>Link
> One</a>. I was using the strip_tags() function and quickly found out that
> this wasn't the best way to do it :)
> 
> Cheers, Joe:)
> 
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

#-------------------------------------------------------#
                                
  "Believe nothing - consider everything"       
  
  Russ Michell
  Anglia Polytechnic University Webteam
  Room 1C 'The Eastings' East Road, Cambridge
  
  e: [EMAIL PROTECTED]
  w: www.apu.ac.uk/webteam

  www.theruss.com
                        
#-------------------------------------------------------#


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to