Forums » Customize

Commenting out PHP code

designwallah
CANADA
2010-03-10 03:57:37
Permalink Post
 

Hello,

I am a new Indexhibit user. I have decades of programming experience but am very new to PHP.

My particular problem is commenting out what looks like PHP code. For example, I have a page that contains this code:

  1. <plug:ndxz_users />

I'd like to comment this out. I tried //, # and /* xxx */ and none of these work. Any ideas?

Work in progress: http://www.nofwords.ca/

Thanks very much,

Francis.

Vaska A
UNITED STATES
2010-03-10 09:39:22
Permalink Post
 

It's an Indexhibit plugin - that is really a piece of PHP. I don't know why you would want to comment this out...simply delete it if it you don't want it.

Search Google for info about commenting out html.

designwallah
CANADA
2010-03-11 21:32:53
Permalink Post
 

I know how to comment out HTML, which, by the way, does not comment out the plug-in tag. Why wouldn't I feel like TEMPORARILY commenting out the plug-in?

Vaska A
UNITED STATES
2010-03-11 23:12:16
Permalink Post
 

Because that code is not very important. Just comment it out as if it were html...maybe it will work...maybe it won't.

It will not hurt anything if it's deleted.

Showing 1 - 4 of 4 posts in Forum > Customize > Commenting out PHP code
 

You need to be logged in to post.