Jump to content

Some Problems With Php And Mysql


DeMoN
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...