close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

While Loop

Thread began 9/15/2009 8:42 am by Daryl | Last modified 9/16/2009 2:00 pm by Daryl | 3500 views | 5 replies

DarylBeta Tester

Im getting there slowly!!

The first set of loops work - horray!!!

php:
<?php do { ?>

<?php 
if ($row_rs_users['lsdogs_chair']=="1")
echo 
$row_rs_users['email'].";"?>
<?php 
} while ($row_rs_users mysql_fetch_assoc($rs_users)); ?>

<?php mysql_data_seek($rs_users0);
$row_rs_users mysql_fetch_assoc($rs_users);
if (
$row_rs_users['lsdogs_sec']=="1"
{echo 
$row_rs_users['email'].";"?>
<?php 
} while ($row_rs_users mysql_fetch_assoc($rs_users)); ?>



And the begining of the second set of loops works too!!

php:
<?php do { ?>

<?php 
echo $row_rs_units['chair_email'].";";?>
<?php 
} while ($row_rs_units mysql_fetch_assoc($rs_units)); ?>



But unfortunately the rest of that group of loops doesn't :0(

php:
<?php mysql_data_seek($rs_units0);

$row_rs_units mysql_fetch_assoc($rs_units);{
echo 
$row_rs_units['sec_email'].";"?>
<?php 
} while ($row_rs_units mysql_fetch_assoc($rs_units)); ?>



So what am I doing wrong then.....?

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...