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