cyberRobot Posted May 30, 2013 Share Posted May 30, 2013 and obviously dreamweaver will also be adding code that might not be necessary.....but I wouldn't know what to remove - noob, remember....using dreamweaver might not be the best way to learn (or not as the case may be) but that is what I am using. Is Dreamweaver writing the code for you...or are you just using it as a text editor? Using Dreamweaver in Code view doesn't add extra code that I'm aware of. Quote Link to comment https://forums.phpfreaks.com/topic/278321-zebra-stripe-dynamic-table-for-ie8/page/2/#findComment-1433223 Share on other sites More sharing options...
cyberRobot Posted May 30, 2013 Share Posted May 30, 2013 I will take a look at a while loop, and find out you mean by the other fetch You're currently fetching the first row of data after executing the query...and then again in your do/while loop. If you switch to a while loop, you would only need to have the fetch in there once. <?php //... $recordset1 = mysql_query($query_recordset1, $Connection1) or die(mysql_error()); $row_recordset1 = mysql_fetch_assoc($recordset1); //... ?> <?php } while ($row_recordset1 = mysql_fetch_assoc($recordset1)); ?> Quote Link to comment https://forums.phpfreaks.com/topic/278321-zebra-stripe-dynamic-table-for-ie8/page/2/#findComment-1433226 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.