i have make a page by add content.but there is some code within comment.when i display it show

how can i solve it

Comments

blogbold’s picture

a) Each content type has it's own configuration - check if the used content type allows comments.
Administer - content management - content types
then select the content type and check "comment settings"
b) every node has a "comment settings" (go to that node click "edit")
c) check if the user is allowed to add comments:
Administer - user management - permissions
"access comments" and "post comments" should be enable for the user/role who wants to add a comment

It's a bit unclear what you mean with:
>"but there is some code within comment"
- What code (php code, unknown characters, ...)?
- Where is that "code" (in the browser window, in the database, ...)?
- What "within" comment? (Which user wrote that comment?)
- Which user tries to add the comment?
- Does the user have permission to write comments (to that page)?
- Did you try it with the default theme? (Does it work there?)
- Do you have access to the database (so you can check if the comment is there)?