Home
| Web Development
| FAO: Caley EOF's and what not
| FAO: Caley EOF's and what not |
Rob

Posts: 167
Joined: 22 June 2007
Location: Potters Bar
|
Sunday, Oct 28, 2007 15:46
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
|
|
|
Caleyjag

Posts: 868
Joined: 22 June 2007
Location: Inverness, Scotland
|
Monday, Oct 29, 2007 12:24
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.
|
|
|
Rob

Posts: 167
Joined: 22 June 2007
Location: Potters Bar
|
Monday, Oct 29, 2007 15:48
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.
|
|
|
Caleyjag

Posts: 868
Joined: 22 June 2007
Location: Inverness, Scotland
|
Monday, Oct 29, 2007 17:38
I know, but I was planning to use it in template files so it saves typing all the time.
|
|
|
1 Guest(s), 0 Member(s) Viewing This Topic:
|
|