close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Simple way to update using dynamic attribute

Thread began 8/18/2022 9:18 am by Jared Lui | Last modified 8/18/2022 1:31 pm by Ray Borduin | 91 views | 1 replies |

Jared Lui

Simple way to update using dynamic attribute

On a results page for a particular POST, I have a drop down list of all employees that are associated with an event using the eventID.
I chose each employee that will be assigned to this post and when I add them, a employeePost table is updated giving this employee a postID. That drop down list filters out rows where the employee has a postID so that we can tell which employees have not been assigned to a post yet.

You can see how this works betters using the images attached.

I'm looking for the best way to handle removing an employee from the POST and adding them back to the list. I know that I need to update the DB row to change the postID to either zero or NULL but I think that there is probably a better and cleaner way to do this then how I added them to the DB in the first place (if this makes sense).

I'm including the main and supporting page. I can provide a URL and login details if needed. I tried creating a removePersonnel.php page and basically replicating the same from that created the postID update in the first place but I made it too complicated and think there should be a better way.

Attached Files
eventPostsDetail.php
insertPersonnel.php
Sign in to reply to this post

Ray BorduinWebAssist

I'd probably need to do a premier support ticket to effectively help on this. It seems like you could just update the record, but I don't think I fully understand the problem, so I think a discussion over the phone would be necessary to come up with the best solution.

Sign in to reply to this post
Did this help? Tips are appreciated...

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