Jump to content

Some Problems With Php And Mysql


DeMoN

Recommended Posts

Wiithout seeing the code, can't really tell you much...

 

However, it looks to me like the code is just doing a while loop and building a table....

 

Something like:

 

<table width="500"  border="0" cellspacing="0" cellpadding="0">
<?
//probably some PHP/MySQL code here

while ($i < $value){

print "<tr>
   <td>$data</td>
 </tr>";

}
$i++

?>
</table>

 

 

 

 

And you want it to do something like:

 

<table width="500"  border="0" cellspacing="0" cellpadding="0">
<tr>

<?
//probably some PHP/MySQL code here

while ($i < $value){

print "<td>$data</td> ";

}
$i++

?>

</tr>
</table>

 

 

Actually looks like it's doing multiple tables and maybe even multiple loops...

Share this post


Link to post
Share on other sites

yeah it was making multiple tables in the loops. i was able to find this plug in for dreamweaver 2004 mx http://www.dwteam.com/Extensions/#ServerBehaviors, it is a horizontal looper. it worked for the most part but to long to work out some small problems.

 

so in the end i spend the time and hand coded it as seen here

 

but thanks for the input

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...