View Single Post
Old 10-17-2011, 06:10 PM  
TheSquealer
BANNED
 
TheSquealer's Avatar
 
Industry Role:
Join Date: Oct 2004
Location: In Your Head
Posts: 25,120
Here is what i wanted... assume there is 5 rows of pictures as an example

<div class="rowofpictures">
<div class="pictitle">
Title of pic
</div>
<div class="image1">
<img src="image-a.jpg" />
</div>
<div class="picdescription">
This is the image description under the image
</div>
</div>

Assume there is 5 of them on a row and i want to put all css for that row into a php file and include it in the page... like row1.php, the second row in row2.php, the third row in row3.php etc.

<?php include("row1.php"); ?>
<?php include("row2.php"); ?>
<?php include("row3.php"); ?>

Then rotate those rows so at a glance it appears the pages content changed when refreshed or opened later.
__________________
.
Yes, fewer illegal immigrants working equates to more job opportunities for American citizens.

Rochard
TheSquealer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote