Jump to content

Eric Rosebrock's myheader() code


oskom

Recommended Posts

Hello all,
Does anyone off the top of their head know the Eric's "PHP and Web Services" example of building functions that would be used in a layout.php file for inclusion on pages. Specifically, I'm trying to remember the way he wrote the HTML code in the function. He didn't actually use "echo". He did something like:

[code]<? php
function theHeader()
{"

HTML code

"}
?>[/code]

But, I'm not sure that's right. Anyone know what the HELL I'm talkin' 'bout?

Thanks,
oskom
Link to comment
https://forums.phpfreaks.com/topic/30569-eric-rosebrocks-myheader-code/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.