DaDaBIK
This forum is devoted to the discussion about the software DaDaBIK database front-end
the PHP Database application generator for MySQL, PostgreSQL and SQLite; also available for Wordpress.

Welcome! Log In Create A New Profile

Advanced

Hyperlinks and masking

Posted by Batt 
Batt
Hyperlinks and masking
April 06, 2005 06:09AM
I am back to try again.

I have more questions.

1) How do I make a URL hyperlinked?

2) Can I mask it to say something simple (I just want to say the word "Profile" and make it clickable)

This is the url:

http://www.kindredclan.org/roster/user/index.php

Also, is there a way to change the date to mm/dd/yy?

Batt
Re: Hyperlinks and masking
April 06, 2005 08:59AM
ok, I figued out how to do the hyperlinks and was able to mask the url with a word.

Now the seemingly most simple part is confusing me...I want the link to open in a new window, but I get errors if I put a "target="_blank"" in this line of business_logic.php:

elseif ($field_content == "url"){
$field_to_display = "<a href=\"".$field_value."\">Profile</a>";

Where would I put this extra piece of code?

Debbie S
Re: Hyperlinks and masking
April 06, 2005 06:12PM
Batt

Did you escape the quotes? Your target part should be target=\"_blank\" and must be inside the anchor opening tag.

Debbie
(Latest version of DaDaBIK when this message was posted: 3.2 Beta)
Batt
Re: Hyperlinks and masking
April 07, 2005 06:12AM
Thank you..that worked.
Sorry, only registered users may post in this forum.

Click here to login