Posted By

donatkinson on 10/04/09


Tagged

header random


Versions (?)

Random header imagaes


 / Published in: PHP
 

Image files are: header1 , header2, header3, header4

  1. <div id="header">
  2. <img src="<?php bloginfo('template_url'); ?>/images/header_<?php echo(rand(1,4)); ?>.jpg" width="472" height="136" alt="<?php bloginfo('name'); ?> Reducing the global burden of disease" />
  3.  
  4. </div>

Report this snippet  

You need to login to post a comment.