Ok below is my code to list random images on my PHP file using dream weaver. As u can see the count number is repeated over and over, as is the img tag src.

I basically want to be able to state the count number and source once into variables and then use the variables instead of stating them over and over and over.

Can u rewrite this code using variables instead???

<div id="PhotoDiv"><img src="/images/pics/<?php echo rand(1,453);?>.jpg"/></div>
<div id="PhotoDiv"><img src="/images/pics/<?php echo rand(1,453);?>.jpg"/></div>
<div id="PhotoDiv"><img src="/images/pics/<?php echo rand(1,453);?>.jpg"/></div>
<div id="PhotoDiv"><img src="/images/pics/<?php echo rand(1,453);?>.jpg"/></div>

thanks