On 15 January 2004 22:39, Luke wrote:
> ? Holy cow, this gets simpler all the time. Pretty soon, there'll be
> ? nothing left on my page but PHP includes and echo functions! ?
> ? Does this cut down on a website's file size? In other
> words, are the php
> ? includes effectively inactive when no o
Oops, I spotted some big errors in my included page already. Here's the
new page:
$todayDate = date("m-d-Y");
echo 'Freedomware > "$statename"';
echo '';
echo '';
echo '';
if($includena/a1 == TRUE){
echo '';
}
echo '';
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
I wrote:
? But suppose there's a certain page where I don't want the style sheet in
? the middle - the one I named MIDDLE. Is there a way to mark it in the
? include page, then instruct the main page to either not import it or
? replace it with nothing ("")?
Luke wrote:
youd have to use a varia
? Holy cow, this gets simpler all the time. Pretty soon, there'll be
? nothing left on my page but PHP includes and echo functions!
?
? Does this cut down on a website's file size? In other words, are the php
? includes effectively inactive when no one's viewing your main pages,
? leaving them emp
i just changed the opening and closing tags a little (you didnt need so
many) but the main change is, now the variables come before the included
file, so that the include file can access those variables too.
Holy cow, this gets simpler all the time. Pretty soon, there'll be
nothing left on my page
hi
Very simple problems, good to see ur getting the hang of it :)
the first is, you have defined your variables after you include the page, so
that the echo is outputting a blank variable...
so instead of:
make it
';
include ("../../../../includes/javascript.php");
include ("../../../../i
6 matches
Mail list logo