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

Search filter: SQL syntax and WebAssist application

Thread began 3/23/2021 9:29 pm by Dragan | Last modified 3/30/2021 9:29 am by Dragan | 52 views | 11 replies

Ray BorduinWebAssist

An HTML form works by submitting form elements from one page to another, or to itself. The page that receives the form field values is the page specified as the action of the form.

In most search forms you use method="get" in the form so that the search fields appear in the url. The reason why is that it allows you to send the search results to someone else, which you can't do with a form POST.

If you want to make a submitted value more permanent, you use the SESSION.

In your case, you want to save the value of the number of days to show. You want to use the session so that if the user navigates to the next page in the result-set, the value is maintained.

Since you are saving the value from the submitted form, it has to be on the page specified as the action of that form, because that is the only page the receives the value. So, your results page in this case.

Once you create the session variable it is available to use on any other pages after that page. It is a persistent value. In your case you can use it in your sql_parameter to add the value to your recordset.

So, the value is submitted on the search page and sent to the results page. The results page saves the value into the session so it will be persistent, and then uses the session to set the value in the recordset.

If you want to schedule a premier support ticket, then I could go through all of this with you in a screen sharing session and show you how to do it, but it shouldn't be too difficult to do.

Have you tried? How far do you get? Instead of asking 4 questions, just ask 1 question and concentrate on the step you are stuck on. Then I can answer that one question more thoroughly and help you get through it before moving on to the next.

I don't know your understanding of HTML, PHP, MySQL, or web development in general. I try to answer your questions but it can get confusing when I'm answering multiple questions at once. Take it slow and you can get through it. If you want it done quickly, then I'd suggest premier support.


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