BabbleBoard Support Forums
What Are YOU Babbling About?
Hello Guest!  |  Home  |  Search  |  Login  |  Register
Home | Web Development | FAO: Caley EOF's and what not
FAO: Caley EOF's and what not
Rob



Role

Posts: 167
Joined: 22 June 2007
Location: Potters Bar
Sunday, Oct 28, 2007 15:46  Trackback URL

You're not on MSN, so I figured i'd post it here while it's still in my head.

Been looking at EOF stuff a bit more and it seems you don't have to call it EOF at all That's just what I picked up and continued using, you could call it DAVERULES! if you wanted, but EOF (end of file) and EOD (end of data) appear to be the standard.

Also you know I was having problems using <a href="' . $whatever . 'stuff">link text</a>, that's because that can't be used in an EOF (or whatever you can it) instead you need to use <a href="{$whatever}stuff">link text</a> or <a href="${whatever}stuff">link text</a>

Both seem to work, there's some more stuff about this at php.net

Go To Top
Caleyjag



Role

Posts: 868
Joined: 22 June 2007
Location: Inverness, Scotland
Monday, Oct 29, 2007 12:24  Trackback URL

I converted the header template over and discovered it didn't save any space at all. I'm not sure if it's worth doing tbh.

Go To Top
Rob



Role

Posts: 167
Joined: 22 June 2007
Location: Potters Bar
Monday, Oct 29, 2007 15:48  Trackback URL

I never said it saved space, I just said I use it to save time not writing echo lots of times, when I have alot of echos



Last edited by: Rob - Monday, Oct 29, 2007 17:11.
Go To Top
Caleyjag



Role

Posts: 868
Joined: 22 June 2007
Location: Inverness, Scotland
Monday, Oct 29, 2007 17:38  Trackback URL

I know, but I was planning to use it in template files so it saves typing all the time.

Go To Top
 
1 Guest(s), 0 Member(s) Viewing This Topic:
 
 
 
Powered by BabbleBoard v1.1.6
All Content © BabbleBoard Support Forums