hey all, can somebody help me make this really ugly code into something pretty and nice π ?
there are two sections that are exactly the same (only the vars are diffrent). it just makes a simple table and sticks some pics in them.
File Handling
$file = fopen("$index", "w");
fwrite($file, $header);
####### STRAIGHT #########
fwrite($file, $stable);
fwrite($file, $thead);
fwrite($file, "<tr><td valign=top width=25%>$tittymax $imgtittymax</td>");
fwrite($file, "<td valign=top width=25%>$ebonyjoy $imgebonyjoy</td>");
fwrite($file, "<td valign=top width=25%>$ultra $imgultra</td>");
fwrite($file, "<td valign=top width=25%>$facial $imgfacial</td></tr>");
fwrite($file, "<tr><td valign=top width=25%>$latina $imglatina</td>");
fwrite($file, "<td valign=top width=25%>$ampie $imgampie</td>");
fwrite($file, "<td valign=top width=25%>$anal $imganal</td>");
fwrite($file, "<td valign=top width=25%>$gangbang $imggangbang</td></tr>");
fwrite($file, "<tr><td valign=top width=25%>$racial $imgracial</td>");
fwrite($file, "<td valign=top width=25%>$cheer $imgcheer</td>");
fwrite($file, "<td valign=top width=25%>$supersize $imgsupersize</td>");
fwrite($file, "<td valign=top width=25%>$sports $imgsports</td></tr>");
fwrite($file, $tfoot);
fwrite($file, "<table><tr><td> </td></tr></table>");
thanks 4 yer help !