Ask a Question related to Dreamweaver AppDev, Design and Development.
-
campdw #1
Problem displaying dynamic meta tags
Hello I am trying to display dynamic meta tags throughout my website but I am
unable to get the data to display anything. Can someone take a look at my SQL
statement? ################################################## ######## <%
Dim rsMetaKeywords__varCatCode rsMetaKeywords__varCatCode = ''
If (sCc <> '') Then rsMetaKeywords__varCatCode = sCc End If
%> <% Dim rsMetaKeywords Dim
rsMetaKeywords_numRows Set rsMetaKeywords =
Server.CreateObject('ADODB.Recordset') rsMetaKeywords.ActiveConnection
= MM_dtor_data_STRING rsMetaKeywords.Source = 'SELECT CATEGORY,
CUSTMEMO1 FROM dbo.CATEGORY WHERE CATEGORY = '' +
Replace(rsMetaKeywords__varCatCode, ''', '''') + '' ORDER BY CATEGORY'
rsMetaKeywords.CursorType = 0 rsMetaKeywords.CursorLocation = 2
rsMetaKeywords.LockType = 1 rsMetaKeywords.Open()
rsMetaKeywords_numRows = 0 %> <meta name='keywords'
content='<%=(rsMetaKeywords.Fields.Item('CUSTMEMO1 ').Value)%>'> <meta
name='description' content='<%=rsMetaKeywords__varCatCode%>'> <%
rsMetaKeywords.Close() Set rsMetaKeywords = Nothing %>
################################################## ######## When the script
runs the variable rsMetaKeywords__varCatCode is assigned a value of the
category code but I think the problem lies with the rsMetaKeywords.Source part
of the script. Regards
campdw Guest
-
DOM meta tags
Hi there! I'm writing an extension for DW8 that retrieves the contents of a meta tag from the current XHTML document: <meta... -
problem displaying html tags in flash from xml - URGENT PLEASE !!!!
Hi All, I have a flash application in which the data is retrived from an xml file which is dynamically written using ASP as ADMIN Console (i.e the... -
Meta Tags
I'm using Publisher 2002 sp2. How do I add title, description and keyword meta tags so they get picked up by search engines? I've tried editing... -
How to use ph to set meta tags ?
Daniel Szasz <danysz@yahoo.com> wrote: You might also want to make sure that it is quoted: <META NAME="mAuthor" CONTENT="<?echo mAuthor() ?>"... -
[PHP] How to use ph to set meta tags ?
You're close but instead of <? mAuthor() ?> try <?php print mAuthor(); ?> That will print the return value of your function - which by example...



Reply With Quote

