Hyperlink with a value from another field

T

Tom

Guest
There are several fields in a table, including fields called "link" (content type = url) and "team" (content type = alphanumeric).

I'd like to view the hyperlinks like this: <td>"team"</td>

instead of: <td>"link"</td><td>"name"</td>

Also, if the field "link" is empty, then results should look only like this: <td>"team"</td>

I know this can be done with Perl and flat-file database, but with PHP and MySQL it could be an another story. :)

 
E

Eugenio

Guest
Tom wrote:

> There are several fields in a table, including fields called
> "link" (content type = url) and "team" (content type =
> alphanumeric).
>
> I'd like to view the hyperlinks like this: <td><a
> href="link">"team"</a></td>
>
> instead of: <td><a
> href="link">"link"</a></td><td>"name"</td>
>
> Also, if the field "link" is empty, then results should look
> only like this: <td>"team"</td>
>
> I know this can be done with Perl and flat-file database, but
> with PHP and MySQL it could be an another story. :)

It isn't possible without heavy modifications to the code.



(Latest version of DaDaBIK when this message was posted: 3.0 beta)
 
Top