close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

multiple update

Thread began 1/31/2014 8:57 am by mr hankey | Last modified 2/18/2014 8:27 am by Jason Byrnes | 613 views | 4 replies |

mr hankey

multiple update

hi there,

I can get it to repeat and display on page.

but when I click the assign button on page nothing is happening. not update.

code is:

<form action="" method="post" name="AssignClients">
<?php do { ?>
<tr>
<td><?php echo $row_rsAssignClients['ClientID']; ?></td>
<td><?php echo $row_rsAssignClients['DateCreated']; ?></td>
<td><?php echo $row_rsAssignClients['App1Title']; ?></td>
<td><?php echo $row_rsAssignClients['App1FirstName']; ?></td>
<td><?php echo $row_rsAssignClients['App1LastName']; ?></td>
<td><?php echo $row_rsAssignClients['App1DOB']; ?></td>
<td><?php echo $row_rsAssignClients['Status']; ?></td>
<td><?php echo $row_rsAssignClients['App2Title']; ?></td>
<td><?php echo $row_rsAssignClients['App2FirstName']; ?></td>
<td><?php echo $row_rsAssignClients['App2LastName']; ?></td>
<td><?php echo $row_rsAssignClients['App2DOB']; ?></td>
<td><select name="ListUsers_<?php echo $RepeatSelectionCounter_1; ?>_<?php echo $RepeatSelectionCounter_2; ?>_<?php echo $RepeatSelectionCounter_3; ?>">
<?php
do {
?>
<option value="<?php echo $row_rsListUsers['UserID']?>"><?php echo $row_rsListUsers['FullName']?></option>
<?php
} while ($row_rsListUsers = mysql_fetch_assoc($rsListUsers));
$rows = mysql_num_rows($rsListUsers);
if($rows > 0) {
mysql_data_seek($rsListUsers, 0);
$row_rsListUsers = mysql_fetch_assoc($rsListUsers);
}
?>
</select></td>
<td><select name="ListIntroducers_<?php echo $RepeatSelectionCounter_1; ?>_<?php echo $RepeatSelectionCounter_2; ?>_<?php echo $RepeatSelectionCounter_3; ?>">
<?php
do {
?>
<option value="<?php echo $row_rsListIntroducers['referredby_RefID']?>"><?php echo $row_rsListIntroducers['RefName']?></option>
<?php
} while ($row_rsListIntroducers = mysql_fetch_assoc($rsListIntroducers));
$rows = mysql_num_rows($rsListIntroducers);
if($rows > 0) {
mysql_data_seek($rsListIntroducers, 0);
$row_rsListIntroducers = mysql_fetch_assoc($rsListIntroducers);
}
?>
</select></td>
</tr>
<?php } while ($row_rsAssignClients = mysql_fetch_assoc($rsAssignClients)); ?>
<input name="Assign_<?php echo $RepeatSelectionCounter_1; ?>_<?php echo $RepeatSelectionCounter_2; ?>_<?php echo $RepeatSelectionCounter_3; ?>" type="submit" value="Assign Now" class="big-button">
</form>
</table>
<?php
} // RepeatSelectionCounter_3 Begin Alternate Content
else{
?>
<td>No records match your request.</td>
<?php } // RepeatSelectionCounter_3 End Alternate Content
if(!$RepeatSelectionCounterBasedLooping_3 && $RepeatSelectionCounter_3_IterationsRemaining != 0){
if(!$row_rsAssignClients && $RepeatSelectionCounter_3_Iterations == -1){$RepeatSelectionCounter_3_IterationsRemaining = 0;}
$row_rsAssignClients = mysql_fetch_assoc($rsAssignClients);
}
$RepeatSelectionCounter_3++;
} // RepeatSelectionCounter_3 End Loop
?>
<?php
} // RepeatSelectionCounter_2 Begin Alternate Content
else{
?>
<td>No records match your request.</td>
<?php } // RepeatSelectionCounter_2 End Alternate Content
if(!$RepeatSelectionCounterBasedLooping_2 && $RepeatSelectionCounter_2_IterationsRemaining != 0){
if(!$row_rsAssignClients && $RepeatSelectionCounter_2_Iterations == -1){$RepeatSelectionCounter_2_IterationsRemaining = 0;}
$row_rsAssignClients = mysql_fetch_assoc($rsAssignClients);
}
$RepeatSelectionCounter_2++;
} // RepeatSelectionCounter_2 End Loop
?>
<?php
} // RepeatSelectionCounter_1 Begin Alternate Content
else{
?>
<td>No records match your request.</td>
<?php } // RepeatSelectionCounter_1 End Alternate Content
if(!$RepeatSelectionCounterBasedLooping_1 && $RepeatSelectionCounter_1_IterationsRemaining != 0){
if(!$row_rsAssignClients && $RepeatSelectionCounter_1_Iterations == -1){$RepeatSelectionCounter_1_IterationsRemaining = 0;}
$row_rsAssignClients = mysql_fetch_assoc($rsAssignClients);
}
$RepeatSelectionCounter_1++;
} // RepeatSelectionCounter_1 End Loop
?>

Sign in to reply to this post

mr hankey

pm for database code

Sign in to reply to this post

Jason ByrnesWebAssist

please dont paste the page code into the message.

compress the php page to a zip archive and attach the page so I can see the entire page code in context.

Sign in to reply to this post

mr hankey

sent

Sign in to reply to this post

Jason ByrnesWebAssist

i dont see an obvious error in the code.

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

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...