Jump to content
Killersites Forums

Going F**** Nuts!---Can't Comment Code!

Recommended Posts

Ok enough with the caps but this one has me going completely bonkers. I'm writing code and decide, I don't want to run this bit of code, so I use a comment block to comment it out. Fun story so far right? Problem I have is, the code doesn't actually get commented out. Hmmm..........


comment = /*  put commented stuff here

                      and here 

                      and here 

                                       */ comments should be closed now except that is not the case.

As you can see here:



How has this happened? Must be something simple but it's driving me insane!!

Link to post
Share on other sites

That style of comment is only good in CSS and Javascript. For HTML comments, you need to be using the right syntax:


<!-- your comment here -->

Oh my!! That is too much!! 


I've been writing nothing but php code lately. 


How embarrassing!!!


Thanks Ben!! LMFAO!!!!


Oh my!! I thought I had gotten enough rest!!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...