$footer = str_replace('include("$header");', '', $footer);
The way you have it now, you're telling PHP to first include the file
named by the variable $header, then do an str_replace on the result; but
the parser is going to fail on that first semi-colon, and that's not
what you want to do anyw
I think it's always worth it to at least design using OO methodologies.
The coding moves much faster and is much easier to maintain, in my
experience. A couple of books I've read recently that I'd recommend:
The Object-Oriented Thought Process by Matt Weisfeld and Bill McCarty
Design Patterns Ex
2 matches
Mail list logo