Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ASP Comments form

New Here ,
Mar 04, 2008 Mar 04, 2008
I am a bit lost with this one.
I have a list of recipes. Each recipe is shown on a details page. I have added an Add comment form at the bottom and a latest comments list. The database has a table for recipes and a table for comments. Recipe ID linked to Comment number.
The recipe shows ok without comments added. as soon as I add the comments fields I get an error.

I can't work out how to show the comments info.
At the moment I have this:
SELECT *
FROM RecComments
WHERE RecID = MMColParam

To show comments but I get the following error:
Microsoft VBScript compilation error '800a0411'
Name redefined
/Connections/CMRecipes.asp, line 8
Dim MM_CMRecipes_STRING

Please help.
Thanks
TOPICS
Server side applications
468
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Mar 04, 2008 Mar 04, 2008
> Microsoft VBScript compilation error '800a0411'
> Name redefined
> /Connections/CMRecipes.asp, line 8
> Dim MM_CMRecipes_STRING



Sometimes, Dreamweaver will add the same line twice. Look in source view,
and you'll see that Line 7 and Line 8 are identical. Delete one of them and
that error will go away.

Translate
LEGEND ,
Mar 04, 2008 Mar 04, 2008
> Microsoft VBScript compilation error '800a0411'
> Name redefined
> /Connections/CMRecipes.asp, line 8
> Dim MM_CMRecipes_STRING



Sometimes, Dreamweaver will add the same line twice. Look in source view,
and you'll see that Line 7 and Line 8 are identical. Delete one of them and
that error will go away.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 05, 2008 Mar 05, 2008
LATEST
Thanks for the help.
I noticed that as well. It's now working fine.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines