And you're sure this isn't just some fanboy thing? 'Cause I've fought more than a couple pimply, overweight vamps that called themselves Lestat.

Buffy ,'Lessons'


Buffistechnology 3: "Press Some Buttons, See What Happens."

Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!


tommyrot - Feb 16, 2007 11:25:11 am PST #601 of 25496
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

Then I think you'd have to comment out the php and html separately. I've had to do that with ASP.


Jon B. - Feb 16, 2007 11:45:09 am PST #602 of 25496
A turkey in every toilet -- only in America!

That\'s what I was afraid of. It\'s a pain because there\'s a lot of back and forth, using php echo commands within the html. Eh, I\'ll just delete the code. I have a test version that still contains it.


Eddie - Feb 16, 2007 1:02:01 pm PST #603 of 25496
Your tag here.

Well, if you're just trying to not display the html generated by the php code (and the normal html), then using html-style comment tags will work:

< h t m l > < b o d y >

< ! - -

< ? = "hi"; ? >

< p >foo< / p >

< ? = "there" ? >

< p > asdf < / p >

- - >

< / b o d y > < / h t m l >

[spaces added to code to get it to play nice with b.org]

But if you're trying to comment out the php to prevent it from executing... yeah, offhand I'd say you'd have to comment separately.


Jon B. - Feb 16, 2007 1:23:50 pm PST #604 of 25496
A turkey in every toilet -- only in America!

Thanks, Eddie. That's better than nothing.


Eddie - Feb 16, 2007 1:50:42 pm PST #605 of 25496
Your tag here.

Got it!

To begin the "block comment" use:

< ? i f ( FALSE ) { ? >

then to end the "block comment" use:

< ? } ? >


Jon B. - Feb 16, 2007 2:10:31 pm PST #606 of 25496
A turkey in every toilet -- only in America!

Clever!


Zenkitty - Feb 16, 2007 3:51:21 pm PST #607 of 25496
Every now and then, I think I might actually be a little odd.

Um, is someone around to help me out? To save my brand-new monitor from being hurled through a wall?


Tom Scola - Feb 16, 2007 3:53:25 pm PST #608 of 25496
Mr. Scola’s wardrobe by Botany 500

save my brand-new monitor from being hurled through a wall?

Open the window first.


Zenkitty - Feb 16, 2007 3:54:21 pm PST #609 of 25496
Every now and then, I think I might actually be a little odd.

It's too cold. I'm just going to throw it through the interior wall. Maybe my neighbor can use it.


Tom Scola - Feb 16, 2007 3:54:41 pm PST #610 of 25496
Mr. Scola’s wardrobe by Botany 500

What's the problem?