RE: (ot) php commenting

2009-06-25 Thread Paul Alkema

This is a cf mailing list not a php mailing list. :P

Anyway, to answer your question that's used for commenting out blocks of
php. Which could include html

Ie; if you wanted to comment out the whole php block...
?php 
echo alkemadesigns.com; // php block
?
p
a href=http://www.alkemadesigns.com;Alkema Designs/a!-- html
block --
/p

You could select the whole php block then select the ?php /*??php */?
comment box in Dreamweaver and it would comment out the whole block
including 

?php /*??php 
echo test;
??php */?

-Original Message-
From: Randi Knutson [mailto:rknut...@otan.us] 
Sent: Thursday, June 25, 2009 2:19 PM
To: cf-talk
Subject: (ot) php commenting


Not CF related, but does anyone know what this is.

When editing a php file in Dreamweaver, when you click on the comments
button, you also get a choice that results in this:
?php /*??php */?

I can't find that documented anywhere and I guess I am just curious.  It
does result in an error on my server so I've learned to ignore it, but I
am still wondering why it is there and what the heck it is.





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323943
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: (ot) php commenting

2009-06-25 Thread Paul Alkema

Woops.. I mean.. 
?php 
echo alkemadesigns.com; // php block
?
p
a href=http://www.alkemadesigns.com;Alkema Designs/a!-- html
block --
/p

Could be commented out like...

?php /*?
?php 
echo alkemadesigns.com; // php block
?
p
a href=http://www.alkemadesigns.com;Alkema Designs/a!-- html
block --
/p
?php */?

heh, I sent email to early. 

-Original Message-
From: Paul Alkema [mailto:paulalkemadesi...@gmail.com] 
Sent: Thursday, June 25, 2009 2:31 PM
To: 'cf-talk@houseoffusion.com'
Subject: RE: (ot) php commenting

This is a cf mailing list not a php mailing list. :P

Anyway, to answer your question that's used for commenting out blocks of
php. Which could include html

Ie; if you wanted to comment out the whole php block...
?php 
echo alkemadesigns.com; // php block
?
p
a href=http://www.alkemadesigns.com;Alkema Designs/a!-- html
block --
/p

You could select the whole php block then select the ?php /*??php */?
comment box in Dreamweaver and it would comment out the whole block
including 

?php /*??php 
echo test;
??php */?

-Original Message-
From: Randi Knutson [mailto:rknut...@otan.us] 
Sent: Thursday, June 25, 2009 2:19 PM
To: cf-talk
Subject: (ot) php commenting


Not CF related, but does anyone know what this is.

When editing a php file in Dreamweaver, when you click on the comments
button, you also get a choice that results in this:
?php /*??php */?

I can't find that documented anywhere and I guess I am just curious.  It
does result in an error on my server so I've learned to ignore it, but I
am still wondering why it is there and what the heck it is.





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323944
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4