NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page PHP heredoc

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 06-25-2006, 01:38 PM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: May 2005
Location: Northern Ireland
Posts: 756
aaronfalloon has a spectacular aura aboutaaronfalloon has a spectacular aura about
 



PHP heredoc


I am learning PHP and came across the heredoc structure. It seems to be a neat way to print long echo statements. Do any of you guys use it? Do you think it is worth using?
aaronfalloon is offline  
Old 06-25-2006, 03:45 PM   #2 (permalink)
NamePros Expert
 
Peter's Avatar
Join Date: Nov 2003
Location: Scotland
Posts: 5,069
Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute
 


Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
I personally never use it but there is nothing wrong with using it at all.
Peter is offline  
Old 06-25-2006, 04:15 PM   #3 (permalink)
NamePros Regular
 
Noobie's Avatar
Join Date: Feb 2006
Location: Montreal, Quebec, Canada
Posts: 324
Noobie is on a distinguished road
 



i don't use it because from what i remember its hard to work inside them
__________________
Goldkey.com is a scam
What's your BMI? | Timestamp Generator
Noobie is offline  
Old 06-25-2006, 08:03 PM   #4 (permalink)
NamePros Regular
 
moondog's Avatar
Join Date: Jun 2004
Posts: 587
moondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to all
 



I used to use it. I dont anymore. . . if I need to print large things, I just end the PHP and use straigt HTML.

-bob
__________________
Can't wait to be out of this forsaken business. Getting close! :)
moondog is offline  
Old 06-26-2006, 05:02 PM   #5 (permalink)
NamePros Member
Join Date: Oct 2005
Posts: 38
Scott2503 is an unknown quantity at this point
 



I never have used it before and I don't plan on ever using it... I am like moondog if I want to print out something large I just end the PHP.
Scott2503 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 07:44 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger