Marc: Difference between revisions
From Amar Wiki
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
Note it's realy 2 = signs | Note it's realy 2 = signs | ||
= = | = = | ||
<?php | |||
$navsection='portfolio'; | |||
$bodysection = 'websites'; | |||
?> | |||
Revision as of 02:50, 17 November 2011
<body id="<?= $navsection ?>">
Any variable can be used by:
<?= $varname ?>
To load selectively
<?php if ($navsection == 'port') { ?>
Any HTML
Including
<link rel="stylesheet" href="/css/style.css" />
<?php } ?>
Note it's realy 2 = signs
= =
<?php $navsection='portfolio'; $bodysection = 'websites'; ?>
