Stefan
Wed Jan 26 03:29:23 CST 2005
Yes if body1 is the db field w/ the info and you have opened the DB connection to that table before you create the string
<%
strTitle = Request("tutorialID")
strDescription = Request("body1")
%>
<head>
<title>Tutorial: <%=strTitle%></title>
<meta name="description" content="<%=strDescription%>">
</head>
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________
"weismana81" <weismana81@discussions.microsoft.com> wrote in message news:BE2F32C3-5DE1-4708-95DE-23F31E5A2280@microsoft.com...
| Thanks! That did the job!!!
| Would you by chance have any advice on creating the description tag. I
| don't suppose it would look something like this?:
|
| <% strDescription = Request("body1")%>
| <head>
| <meta name="description" content="<%=strDescription%>">
| </head>
|
| P.S. Employee... Tutorial... Whatever:-)
|
| Thanks again.
| "Kathleen Anderson [MVP - FrontPage]" wrote:
|
| > <% strTitle = Request("tutorialID")%>
| > <head>
| > <title>Tutorial: <%=strTitle%></title>
| > </head>
| >
| > would probably be better :-)
| >
| > --
| >
| > ~ Kathleen Anderson
| > Microsoft FrontPage MVP
| > Spider Web Woman Designs
| >
http://www.spiderwebwoman.com/resources/
| >
| >
| >
| > Kathleen Anderson [MVP - FrontPage] <spiderwebwoman@mvps.org> wrote:
| > > Try this:
| > >
| > > <% strTitle = Request("tutorialID")%>
| > > <head>
| > > <title>Employee number: <%=strTitle%></title>
| > > </head>
| > >
| > >
| > >
| > > weismana81 <weismana81@discussions.microsoft.com> wrote:
| > >> I am trying to create dynamic title and meta tag descriptions for my
| > >> pages that are called from a database. I'm really not sure how to go
| > >> about this. But I took a stab at it with this. Shot in the dark.
| > >>
| > >> <title>Tutorials:<%=FP_FieldURL(fp_rs,"tutorialID")%></title>
| > >>
| > >> Of course this did not work. Any suggestions? I guess I'll need to
| > >> open my db connection and all that. If someone could point me in the
| > >> right direction, it would be much appreciated.
| > >> Thanks...
| >