Marc: Difference between revisions

From Amar
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
Any variable can be used by:
Any variable can be used by:
  <?= $varname ?>
  <?= $varname ?>
To load ''selectively''
'''<?php if ($var == 'value') { ?>'''
Any PHP
Including
<link rel="stylesheet" href="/css/style.css" />
'''<?php } ?>'''

Revision as of 22:58, 16 November 2011

<body id="<?= $navsection ?>">

Any variable can be used by:

<?= $varname ?>


To load selectively


<?php if ($var == 'value') { ?>
Any PHP
Including
<link rel="stylesheet" href="/css/style.css" />
<?php } ?>