Search results

  1. J

    Why does my PHP include work in IE but not in Firefox?

    I'm using a PHP include to insert the path of a randomly chosen JPG image into the 'background-image' element of a DIV's Style tag. For example: <div style="background-image:url('<?php include 'random_image.php'; ?>');"> becomes <div style="background-image:url('images/1.jpg');">, which fills...
Back
Top