Okay, I'm lost. I'd like to have a visitor (who's logged in already) be able to change the status of a particular record. This record is in a repeat region, and I have a small graphic that the user would click on, and that particular record status would change.
I have no clue how to do this, and I've tried a number of different code variations to no avail... I'm stumped!
Here's a sample of my code... notice the image that I would like to have "clickable" and tied to a record update. I really would prefer not to have a separate "submit" button. Is this possible?
<?php do { ?>
<tr bgcolor="<?php if ($BRB_rowcounter++%2==0){?>#E2E2E2<?php }else{ ?>#F2F2F2<?php }?>" valign="middle">
<td width="75"><div align="center"><font size="2" face="Geneva, Arial, Helvetica, sans-serif"><a href="http://mywebsite.com/<?php echo $row_rsUserDetails['temp_msg_loc'];?>"><img src="images/playbutton.gif" alt="play voice mail message" border="0"></a></font></div></td>
<td width="100"><div align="right"><font size="2" face="Geneva, Arial, Helvetica, sans-serif"><?php echo $row_rsUserDetails['msg_status']; ?></font></div></td>
<td width="150"><div align="right"><font size="2" face="Geneva, Arial, Helvetica, sans-serif"><?php echo $row_rsUserDetails['msg_ani']; ?></font></div></td>
<td width="100"><div align="right"><font size="2" face="Geneva, Arial, Helvetica, sans-serif"><?php echo $row_rsUserDetails['creat_date']; ?></font></div></td>
<td width="100"><div align="right"><font size="2" face="Geneva, Arial, Helvetica, sans-serif"><?php echo $row_rsUserDetails['creat_time']; ?></font></div></td>
<td width="75"><div align="center"><font size="2" face="Geneva, Arial, Helvetica, sans-serif"><img src="images/deletebutton.gif" alt="delete voice mail message" width="17" height="17" border="0"></font></div></td>
</tr>
<?php } while ($row_rsUserDetails = mysql_fetch_assoc($rsUserDetails)); ?>
So, above, the "deletebutton.gif" would be the image I'd like to have clickable to change the $row_rsUserDetails['msg_status']; to DELETE. (no... I do not actually want to delete the record, just update the msg status to indicate a status of DELETE.)
Additionally, the "playbutton.gif" button above I'd like to have not only play the asf file, (which it's doing fine at the moment) but also attach an update mySQL to update the msg status to "Saved".
How can I do this? I'd be eternally grateful to anyone who could give me some suggestions... thanks in advance!!!
...Tanya
ps: if you need to have more of the code, let me know!