close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How can i return a boolean from the execute function if it's correct or not

Thread began 9/13/2018 10:28 am by Lucas | Last modified 9/14/2018 3:36 pm by Lucas | 444 views | 5 replies

Lucas

Thank you very much for the quick answer.
For some cases, we need it because we execute some processes that depend on whether others are performed correctly. For example: we perform the user registration, which if the registration form is completed correctly, the function that saves the user in the database is executed, it returns an id and a token, which are sent by mail in an account activation button.
The same happens in the activation URL of the account, when you enter the url, check the database according to the id and token sent, if it is ok, update the user and if you update it correctly, send an email warning that the account is properly activated and redirected to the login.

They are for actions that are performed if other actions are previously completed correctly.

We need this for some particular things like the ones I mentioned earlier. In other parts of the site, we will continue using the query, insert, delete or update as they are done today with the plugin.

Thank you again

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