Title: Re: Witango-Talk: Displaying text with links
<@replace> does the trick just replaced the &lt; with < etc and all is now well.

But if someone had the witango equivalent of this regex
$text = preg_replace('#(https?://[^\s<"\']*)#','<a href="">
It would let them just enter www.xxx.xxx and it would convert it I guess I can look into that myself. But for now I am going to have them enter it with HTML like in the example. I changed all 3,000 already so they look like this.



on 5/31/06 15:32, Ted Wolfley at [EMAIL PROTECTED] wrote:

Hi,
 
Have you tried encoding=none or encoding=
METAHTML?  I store html including links in databases and display it without any problems.
 
Ted


From: Dan Stein [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 3:10 PM
To: [email protected]
Subject: Re: Witango-Talk: Displaying text with links

I think this is a job for regex but I am not sure how to do it.


on 5/31/06 14:37, Dan Stein at [EMAIL PROTECTED] wrote:
I am using FMP to store text with CSS imbedded so I can let my client format descriptions with bold italic colors etc.
 
 
So they type this
 
Recommended for ages 7-13
Visit <a href="" <http://www.comev.org.br> .">http://www.comev.org.br>COMEV</a>. <http://www.comev.org.br>  <http://www.comev.org.br%3eCOMEV%3c/a%3e.>
 
Abraham -- An epic journey to the Promised Land, a miraculous birth to aged parents, and the story of God's greatest test: Abraham must kill his beloved son upon a sacrificial altar.

 
It loads into the Database this
 
<BR>Recommended for ages 7-13<BR>Visit &lt;a href="">
">http://www.comev.org.br&gt;COMEV&lt;/a&gt;.<BR><BR></SPAN> <http://www.comev.org.br&gt;COMEV&lt;/a&gt;.>  <http://www.comev.org.br%3eCOMEV%3c/a%3e.%3cBR%3e%3cBR%3e%3c/SPAN%3e>
<SPAN STYLE= "font-weight: bold;" >Abraham</SPAN>
<SPAN STYLE= "" > -- An epic journey to the Promised Land, a miraculous birth to aged parents, and the story of God's greatest test: Abraham must kill his beloved son upon a sacrificial altar.<BR><BR></SPAN>
 
 
But the Hrref needs to be a link. Do I need to encode the column when I display it?
 
The style works fine but not the link



________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf



--
Dan Stein
FileMaker 7 Certified Developer
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Cell: 610-256-2843
Fax 413-410-9682
FMP, WiTango, EDI,SQL 2000, MySQL, CWP
[EMAIL PROTECTED]
www.dss-db.com


    "When you are born, you cry and those who love you rejoice.  And if you
live your life as you should, when you die, you rejoice and those who
love you cry."
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to