Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » Classic Visual Basic (VB 6 or earlier) » Internet/Communications Programming » Help on displaying element in title tag.


Help on displaying element in title tag.Expand / Collapse
Author
Message
Posted 1/4/2011 5:54:55 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 1/12/2011 11:52:51 AM
Posts: 1, Visits: 5
I work on a website that uses a CMS neither of which i set up. example page: http://www.cfp.net/media/release.asp?id=271 

I have data from database that displays in the body using this code:

<%=FormatDateTime(News.ActiveDate,vbShortDate) & " - " & News.Headline%></p>

I want the "news.Headline" to appear in my Title tag. Can you help?

thanks!
Sally

Post #29878
Posted 1/13/2011 9:21:37 PM
Forum God

Forum GodForum GodForum GodForum GodForum GodForum GodForum GodForum God

Group: Forum Members
Last Login: 7/15/2011 3:57:36 PM
Posts: 371, Visits: 208
<head>
<title><%=News.Headline%></title>
</head>

TallOne
Post #29915
Posted 1/13/2011 9:22:26 PM
Forum God

Forum GodForum GodForum GodForum GodForum GodForum GodForum GodForum God

Group: Forum Members
Last Login: 7/15/2011 3:57:36 PM
Posts: 371, Visits: 208
A bit late I'm sure!

TallOne
Post #29916
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Admin, Mod, Mark, Keithuk

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 2:39am