Skip to content
Advertisement

Blank page after submit button & Anonymous column is updated after submit button

When I press the submit button, it redirects me to a blank page. I want it to redirect to home.php. And if a GUEST press the submit button, in the database, the ANONYMOUS column is updated. How to redirect guest to login form if they are not connected? This is my code:

JavaScript

Advertisement

Answer

from doc https://www.phpbb.com/support/docs/en/3.2/kb/article/phpbb3-sessions-integration

you need add this code at the top page

JavaScript

and now validating if guest submit data

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement