|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Hi
Could you help me in a small problem of mine Suppose i have a database with Table1 the fields in table1 are link1 link2 link3 at the time being i am able to display link1 jub by doing /* all connections sorted */ <a href='<% Response.Write(TBL("Link1")) %>' target='_blank'> this shows link1 how can i change it so that it only shows link1 if only there is a value under the field link1... thnx for your help l8r |
|
#2
|
||||
|
||||
|
If the link field has a value then show it.
Code:
If(TBL("Link1") <> "")Then
Response.write("<a href=" & TBL("Link1") & " target='_blank'>" & TBL("Link1") & "</a>"
End if
|
|
#3
|
|||
|
|||
|
your code rocks
thnx man |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > database help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|