UBB.Dev
Posted By: lurch_dup1 How to comment out a line in PHP? - 09/02/2002 4:32 AM
I can't figure it out.

$iconselect

Whats the correct way to comment out that line?

tia

Posted By: JustDave Re: How to comment out a line in PHP? - 09/02/2002 4:51 AM
From where? in a template file? Or in a php script?

In a script use double backslashes // in front of it.

In a template, within the html, use <!-- yourlinehere -->

Hope that helps.
Posted By: lurch_dup1 Re: How to comment out a line in PHP? - 09/02/2002 5:05 AM
<!-- yourlinehere -->

That did the trick, thanks.

It's the newreply.tmpl file.
© UBB.Developers