close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Before page loads form =get

Thread began 2/16/2016 7:10 am by Kumel | Last modified 3/02/2016 4:00 pm by Kumel | 902 views | 9 replies


Before page loads form =get

I have a page called notifications here all notifications are displaying thru db!
Notifications columns are: ID, UserId, SenderId, TimeAdded, UnRead & JobiD.

All values are added except unread = 0.
I want to turn this value to 1 as user clicks on the notification. As he clicks he is taken to a job details page about the notification & other details.

Now on details page i used link like this: ../job-details.php?JobID=213&NotificationID=5 (This means the person has clicked on notification which ID is 5 & JobID is 213 which currently is displaying details on JobID=213. As as person visits this page i have made a form in job-details.php page as :

<form name="notifications" action="job-details.php" method="post">
<input name="NotificationID" type="hidden" value="<?php echo((isset($_GET["NotificationID"]))?$_GET["NotificationID"]:"") ?>" />

I added update record server variable here using data assist As NotificationID as key value for table Notifications & setting trigger as before page loads & in binding choosing UnRead as 1 as value. But it doesnt work. But if a add a submit button & change trigger to on submit then it doesnt work.

How to make this work on Before page load?

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





Ease of use


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