Answered
Removing a link when the database field is empty?
Using ASP and Access - I'm making a listing of organisations
using repeated regions. Some require a link to their website,
others don't. The code I'm using is fine when an organisation has a
web address. However, those that don't still get the text "Website"
linked, but missing a URL as the relevant data field (orgWebsite)
is empty. I need to remove the linked word and the empty <a>
HTTP://</a> that is rendered when
a field is empty.
Ideally I want it to continue behaving as it does when a URL is present on the database but leave no code if absent. I'm fairly sure that this means the <A HREF= and the "Website" text should be contained within the ASP code but none of my attempts have worked. Appreciate any assistance on this....
Thanks
Ideally I want it to continue behaving as it does when a URL is present on the database but leave no code if absent. I'm fairly sure that this means the <A HREF= and the "Website" text should be contained within the ASP code but none of my attempts have worked. Appreciate any assistance on this....
Thanks
