whiteboikyle Posted June 12, 2008 Share Posted June 12, 2008 Okay well i have multiple tables.. But it wont allow 2 tables to stand next to each other. Here is my code i wanted it to be like 1 2 3 4 5 6 7 8 Here is the code its PHP/HTML but i need the HTML help on it lol <style type="text/css"> <!-- body { background-color: #666666; } --> </style> <table width="800" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <?php $address_url = $_SERVER['PHP_SELF']; $address_url_new = str_replace("home.php", "", $address_url); $images = scandir(getcwd()); foreach($images as $curimg){ if ($curimg == '.' || $curimg == '..' || $curimg == 'home.php') { continue; } echo "<table width='394' border='0' cellspacing='0' cellpadding='0'> <tr> <td width='154' rowspan='4'><a href='$curimg'><img src='$curimg' height='175' width='150'></a></td> <td width='240' align='left' valign='top'>Direct Link:<br> <input name='textfield3' type='text' value='http://www.corpaluploads.com$address_url_new$curimg' size='40'></td> </tr> <tr> <td align='left' valign='top'><p>Forum Code: <br> <input name='textfield2' type='text' value='"; echo('[img=http://www.corpaluploads.com'.$address_url_new.$curimg.']'); echo "' size='40'></td> </tr> <tr> <td align='left' valign='top'>Html Code:<br> <input name='textfield' type='text' value='<img src=\"http://www.corpaluploads.com$address_url_new$curimg\">' size='40'></td> </tr> </table>"; }; ?></td> </tr> </table> Link to comment https://forums.phpfreaks.com/topic/109838-table-help/ Share on other sites More sharing options...
whiteboikyle Posted June 12, 2008 Author Share Posted June 12, 2008 Here is what i want.. The before and after [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/109838-table-help/#findComment-564178 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.