Re: Display HTML linksas links in BLOB output
| From: | Martín Marqués | Date: | Fri, 26 Oct 2001 22:47:32 +0000 |
| Subject: | Re: Display HTML linksas links in BLOB output | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72526@lists.php.net to get a copy of this message | ||
On Vie 26 Oct 2001 19:17, David wrote:
> I have a TEXT or BLOB field in my database and everthing works great
> when I display it in my browser with PHP except HTML links are not
> clickable (appear as normal text). How do I display the links in the
> BLOB field as actual HTML links on my web page?
You have to search the block of text and add the html tags. See the string
functions, and the regular expresions functions.
> While I'm on the subject: How do I display PHP code examples in my BLOB
> output on a web page?
Copy your php file with extension .phps and view it on your web.
Saludos... :-)
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------