Marc: Difference between revisions

From Amar
Jump to navigationJump to search
No edit summary
No edit summary
Line 8: Line 8:




  '''<?php if ($var == 'value') { ?>'''
  '''<?php if ($navsection == 'port') { ?>'''
  Any HTML
  Any HTML
  Including
  Including

Revision as of 23:01, 16 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

= =